Saturday, November 26, 2011

Adding bash commands

You just need to add them to alias by editing bashrc
add these lines to the bashrc file

alias hsearch='history | grep' ----> just for search history quickly
alias projectDir='cd /opt/projects/myproject' ---> to go my project dir easily
alias kermit='kermit -y /etc/kermit/kermrc' ----> en axample of using an executable with its arguments

No comments:

Post a Comment