In the below example i have show how to navigate up to level 5 using cd......(cd followed by 6 dots).
Here a single dot represents the current directory, 2 dot means 1 level up, 3 dots means 2 level up and so on..
Add the following alias.
Add more alias if you need.
Enjoy!
thanks to linuxhacks.
Here a single dot represents the current directory, 2 dot means 1 level up, 3 dots means 2 level up and so on..
Add the following alias.
$ alias cd..="cd .."Now use cd.... to navigate upto level 3.
$ alias cd...="cd ../.."
$ alias cd....="cd ../../.."
$ alias cd.....="cd ../../../.."
$ alias cd......="cd ../../../../.."
Add more alias if you need.
Enjoy!
thanks to linuxhacks.
Comments