May 30th, 2018 · Comments Off on 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...
Mar 22nd, 2012 · Comments Off on Quickly Find Out Contents Of Directories And Subdirectories Using Linux Terminal
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...