Skip to content

Instantly share code, notes, and snippets.

@sanjay1688
Last active August 12, 2016 10:38
Show Gist options
  • Save sanjay1688/10496d53e73d5cc66f7c to your computer and use it in GitHub Desktop.
Save sanjay1688/10496d53e73d5cc66f7c to your computer and use it in GitHub Desktop.
linux commands
################################# ALIAS ############################
To Make permanent add into
~/bashrc
To Make permanent global add into
/etc/bashrc
//create shortcuts
alias fit="cd /var/www/html/fit"
alias .="cd ../"
alias ..="cd ../../"
alias ...="cd ../../../"
alias ....="cd ../../../.."
alias .....="cd ../../../../.."
alias agi='sudo apt-get install'
To Remove existing alias
unalias agi | . | .. | ... | .... | .....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment