How to Get a Specific Line or Lines From a Big File? Hint: Use One Liner AWK

If you are working with a huge text file with millions of lines and want to know the content of a specific line, there are a few tricks you can play to get the line you want. ┬áThe naive approach of reading the file line by line (say in python) and keeping a count on […]






Two Most Useful Commands, If You Live On The Linux/MacOS Terminal

Do you use the linux/Mac OS X terminal a lot? If yes, you must have a few most useful commands. The commands that help you move around terminal fast and gives you the super power to look up your history real fast will be handy on every day use. Calling them as the “Most Useful […]






Tips to Get Started with Screen, the Terminal Multiplexer

The more you feel comfortable with terminal, the higher the number of terminals that will be open. For sure you will many things to keep a tab, one for your email, one for the code, one for executing the code, and so on. And one might easily get annoyed, rightly so, recreating your multiple sessions […]






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 […]






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 used the linux command “ls” to list the files and directories in a directory. Simple use “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 the command […]