Thursday, 17 January 2019 .::. Your IP: 
Home Common Software Howto set bash alias

Howto set bash alias

This tutorial will show you how to make a command even shorter using alias.

Firstly you will have to open the file in your home folder named .bashrc.

Once you open .bashrc you can insert the following line:
alias lah='ls -lah'
Save the file and quit.

This will make the command lah available for you. In this case lah is doing ls -lah.
Of course you can put any command you need between '' and also you can name it whatever you need before the equal sign.

Reddit!! Mixx! Free and Open Source Software News Google! Facebook! Slashdot! StumbleUpon! TwitThis Joomla Free PHP