Avoid Typing Long Commands In Linux Terminal By Using Aliases

Aliases when using Linux command line can shorten commands so that there is no need to type them in full. They can be viewed using the following command : alias Adding them is simple, for example : to add an alias for the command uptime as u : alias u='uptime' What this will do is show the system uptime just by typing in ‘u’. However, this change is only for the current session. It...

Quickly Find Out Contents Of Directories And Subdirectories Using Linux Terminal

List directory contents recursively in Linux
Linux command line / Terminal offers a quick and simple way to do most things. Let’s say that if we want to view contents of a directory and all the sub directories within it quickly all in one go, here is how to do it : 1. Open Terminal and type the path of the directory whose contents (along with the contents of subdirectories and their subdirectories and so on )  after ls command and the...