Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to go home directory in linux

# 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: #home #directory #linux
ADD COMMENT
Topic
Name
2+1 =