Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to go back to the last directory in linux

/
* File & Directory Commands *

To navigate into the root directory, use */ "cd /" /*
To navigate to your home directory, use */ "cd" /*or*/ "cd ~" /*
To navigate up one directory level, use*/ "cd .." /*
To navigate to the previous directory (or back), use */ "cd -"
Source by help.ubuntu.com #
 
PREVIOUS NEXT
Tagged: #directory #linux
ADD COMMENT
Topic
Name
1+2 =