Linux/UNIX: Bash Read a File Line By Line

How do I read a file line by line under a Linux or UNIX-like system using KSH or BASH shell?

You can use while..do..done bash loop to read file line by line on a Linux, OSX, *BSD, or Unix-like system.

Source: Linux/UNIX: Bash Read a File Line By Line (nixCraft)

11 ‘Avconv’ Commands to Record, Convert and Extract Videos & Audios from Linux Terminal

In this article we’re going to discover the most important 11 commands to use with the avconv program to convert, extract and record videos from Linux terminal.

Source: 11 ‘Avconv’ Commands to Record, Convert and Extract Videos & Audios from Linux Terminal (Tecmint)

How To Install FreeNAS 9.3 | Unixmen

FreeNAS is a Network Attached Storage operating system,it is freeBSD based and support CIFS, NFS, iSCSI, FTP, RSYN along with RAID support.

Source: How To Install FreeNAS 9.3 | Unixmen

How to Defragment Linux Systems – Make Tech Easier

Most Linux users won’t need to defragment their disk thanks to its excellent journaling filesystems, but when you need to defragment, here’s how to do it.

Source: How to Defragment Linux Systems – Make Tech Easier

Using apt-cache to search for packages

How to search and find packages on Ubuntu or Debian using apt from command line

Source: Using apt-cache to search for packages

How to Manage Swap Usage in Linux

Swap is a special partition used to write pages from memory and read back pages into memory as well. This guide shows how to manage swap usage in Linux.

Source: How to Manage Swap Usage in Linux (Make Tech Easier)

Windows 10 and Your Privacy: What You Need To Know

Windows 10 has a lot of shady data collection going on that you should be aware of. Here’s what you need to know about Windows 10 and your privacy.

Source: Windows 10 and Your Privacy: What You Need To Know (Make Tech Easier)

How To Disable Annotations and Pop-Ups on YouTube Videos (with or without login)

Do you hate those overlays and annotations that appear on YouTube videos? Me, too! Here’s how to disable them. If you are logged into YouTube it is a simple procedure as described here:

How To Disable Annotations and Pop-Ups on YouTube Videos (Field Guide/Gizmodo)

But what if you don’t have a YouTube account or don’t want to login? Well that’s also easy, if you have the popular ad-blocking extension uBlock Origin installed (the link is to the addon’s Github site, but it should be available in the usual addon repositories for Firefox, Chrome, Chromium, and perhaps a couple of other browsers). All you need to do is this:

In the Addon manager (Firefox) or Extensions page (Chrome(ium)), click the button to go to the Preferences for the uBlock Origin addon, or click the Options link.

If a “Show Dashboard” button appears, click it.

Click on the “3rd-party filters” tab. Scroll to the bottom of the page, to the “Custom” section.

In the textbox you should see a line that looks like this (possibly the last line in the textbox:

! https://easylist-downloads.adblockplus.org/yt_annoyances_other.txt

Uncomment this line by removing the exclamation point and space character from the start, so it looks like this:

https://easylist-downloads.adblockplus.org/yt_annoyances_other.txt

Click the “Parse” button below the text box.  Now, just above the textbox, you should see a new entry that says:

https://easylist-downloads.adblockplus.org/yt_annoyances_other.txt‎ : 0 used out of ? [outdated]

Don’t worry about the word “outdated”, this isn’t a filter that needs to be changed frequently.  Now look for the “Apply Changes” button in the upper right hand corner of the page.  Click it.  The word “outdated” will change to a “purge cache” button.  Don’t click that.  Just close the tab or window.  You’re done.

If you use AdBlock rather than uBlock Origin you might want to consider switching, because in my experience uBlock Origin is more effective in blocking ads and other annoyances.  You can always switch back if you don’t think it’s a better blocker.

How to Update Files in Google Drive without Changing the Link

Learn how to replace an existing file in Google Drive with a new and updated version but without changing the shared link of the file.

Source: How to Update Files in Google Drive without Changing the Link (Digital Inspiration)

fdupes – A Comamndline Tool to Find and Delete Duplicate Files in Linux

fdupes is a Linux utility for identifying or deleting duplicate files in the given set of directories and sub-directories. It recognize duplicates by comparing

Source: fdupes – A Comamndline Tool to Find and Delete Duplicate Files in Linux – Tecmint