Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux change directory

# Few shorctus for changing directory
# go home directory
cd ~

# go to root directory
cd /

# go back to previous directory
cd -

# go up one directory level
cd ..

# go up two directory level
cd ../../ # and so on
Source by kbroman.org #
 
PREVIOUS NEXT
Tagged: #linux #change #directory
ADD COMMENT
Topic
Name
3+1 =