Friday, January 26, 2018

Linux Commands in a nutshell

Go back to the previous directory in shell
cd -
It goes back to the previous directory.
cd $OLDPWD
This can be also used in shell scripts.

No comments:

Post a Comment