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
 
PREVIOUS NEXT
Tagged: #linux #change #directory
ADD COMMENT
Topic
Name
1+5 =