Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to leave a directory on terminal

 Leaving your Current Working Directory
 
$ cd
	Returns you to your login directory.
$ cd -
	Returns you to your previous working directory.
$ cd ~
	Also returns you to your login directory.
$ cd /
	Takes you to the entire system's root directory.
$ cd /root
	Takes you to the home directory of the root user.
 
PREVIOUS NEXT
Tagged: #leave #directory #terminal
ADD COMMENT
Topic
Name
9+1 =