Ten Linux Commands on “tar” and “gzip” You Need to Know

Admit it. Almost every time you deal with a tar” file or “gzip” file, you wonder what was the command that I used last time to “——“. You can fill the blanks with “Creating a new tar file, how to gzip a tar file, how to unzip a file, how to get a peek of… Continue reading Ten Linux Commands on “tar” and “gzip” You Need to Know

How to Install Spotify in Linux?

Spotify, the digital music service, that has made listening to music more social has crossed the Atlantic ocean and landed in US. With Spotify, you dont need to buy songs any more. Instead, for a monthly subscription, the whole world of music is yours to stream to almost any device (Well almost). Needless to say… Continue reading How to Install Spotify in Linux?

How to Download a File or Directory Using wget?

If you are spending too much time on a terminal, there is a good chance that you would like to download a file or a directory from the web, but without really using a browser. You can use the command line utility “wget” to download a file or a directory right from your terminal. The… Continue reading How to Download a File or Directory Using wget?

How to Find the List of Directories in a Directory in Linux/Mac OS X?

Anyone who has used command line on a terminal must have used the linux command “ls” to list the files and directories in a directory. Simple use of “ls” command will list directory and files in a given directory. Often you might want to know only about the directories in a directory. One can use… Continue reading How to Find the List of Directories in a Directory in Linux/Mac OS X?

How to Count the Number of lines, Words, and, Characters in a Text File from Terminal?

How can we get the number of lines or number of words in a file? The most easiest way to count the number of lines, words, and characters in text file is to use the Linux command “wc” in terminal. The command “wc” basically means “word count” and with different optional parameters one can use… Continue reading How to Count the Number of lines, Words, and, Characters in a Text File from Terminal?