April 19, 2015
Bash Tricks I Like #1
Make the terminal work for you!
This is a bash alias I find very useful and convenient. When you want to simple
move up a directory, it's a pain to type cd ../...
It's much nicer to simply type ... Just put the following line in your .bashrc
file: alias ..="cd ../..". I also like to create aliases for moving up
multiple directories. For example, alias ...="cd ../../.." allows me to move
up two directory levels by just typing .... And so on.