Move to another directory. Use “cd -” to return to the previous one.
cd /var/logLINUX COMMAND ATLAS · COMMAND GUIDE
Move to another directory. Use “cd -” to return to the previous one.
Shell builtincd [-L | -P] [DIRECTORY]
Move to another directory. Use “cd -” to return to the previous one.
cd /var/logReturn to the previous working directory.
cd -cd is a shell builtin because it must change the current shell's directory. Use cd -- '-name' for a directory whose name begins with a dash.