When you are writing a python program and want to run the Python script as a command from the terminal, you may want to get the arguments to the python program from command line. For example, you might want to execute the Python script and use its arguments. Python myPythonWithArguments.py input1 input2 Python’s sys module’s […]
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 […]
How to SSH Without Typing Password?
If you login to a Linux server/cluster frequently, it might get little painful to type your password every time. If the computer you use to login to the cluster is safe and secure, you can easily set your computer so that you can login to Linux server/cluster (and copy files between the machines using SCP) […]
Ten Tips to Move Around Your Text Files Using Emacs
If you are a newbie to the powerful Emacs editor, it is good to learn how to move around the text. One can always use the mouse and arrow keys to move around the text in Emacs. But, you will pretty soon realize this is annoying and painful. Emacs has a number of cool tricks […]
Free R Books Online for Beginners
R, the preferred programming language for statisticians is also becoming the go to language for “all things data” by non-statisticians as well. The Comprehensive R Archive Network has a number of free R books or documents available for both beginners and advanced users. Here is the list of free online R books that can […]



