Tag Archives: cd

Autojump directories in Linux

If you happen to access several directories daily by using the command line, you can bookmark some of the longer paths with autojump. Instead of typing cd /long/path/to/some/folder/named/work you can simply do a j work Original tip here.

CLI tip: Go back to the previous directory

While in Terminal, going back to the previous directory can be done with the classic cd ..But there’s another way. make an alias of you choice for cd $OLDPWD, like this: alias cdo=’cd $OLDPWD’ Now every time you’ll tipe cdo you’ll be taken to the previous directory you were in. This is very useful when… Read More »