Code Snippet

Just another Code Snippet site

[Bash] Aliases

alias 'll=ls -ltrh --color=auto'
alias ..='cd ..'
alias cls='clear'
alias psd='/usr/ucb/ps -auxww'

To add ‘top’ in Solaris :

alias 'top=prstat'

to add ‘wget’ in Solaris :

alias 'wget=/usr/sfw/bin/wget'

—————————————-

Filtered history :
Create an .inputrc file in the home folder with following content :

"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on

, , , ,


Comments are currently closed.