Monday, April 21, 2014

Adding command alias to Ubuntu

Alias command provides user to user simple shortcut keys in the console instead of lengither commands. For example, you may use '?' instead of 'ls -ltr'.

Command alias provide faster actions in console.

What you have to do is to add your alias definitions to ~/.bashrc file.

alias ?='ls -ltr'
alias .='pwd'
alias g='gvim'
alias gd='gvim -d'

1 comment: