6

Tip for newbies: Use alias to create shortcuts for commands

view full story
linux-howto

http://www.linuxandlife.com – The average linux users use the terminal commands for many tasks and some certain commands are very frequently used. For example, if you are a user of Ubuntu, you have to type " sudo apt-get install" every time you want to install a new package or the command "xset dpms force off" to turn off the desktop/laptop monitor. To save time, you can create shortcuts for these commands by adding aliases into the bash configuration file (~/.bashrc or /etc/bash.bashrc). The syntax to use aliases is: alias shortcut-command="regular-command" For example: alias install="sudo apt-get install" alias (Distributions)