Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux go to home directory

cd home

# or

cd ~

# or

cd
Comment

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
Comment

PREVIOUS NEXT
Code Example
Shell :: environment variable setup 
Shell :: ssh login without passowrd 
Shell :: or create a new repository on the command line 
Shell :: teleport in vue 
Shell :: swagger editor locally 
Shell :: mongo remove collection 
Shell :: jest for react 
Shell :: run tar.xz ubuntu 
Shell :: nextjs start production 
Shell :: kubernetes config context change environment/cluster 
Shell :: apt upgrade full 
Shell :: if else bash 
Shell :: bash vi exit 
Shell :: laravel github 
Shell :: creating new branch 
Shell :: awk use string as field separator 
Shell :: running docker image 
Shell :: linux install software without sudo 
Shell :: batch script comment 
Shell :: how to install mongodb in ubuntu 
Shell :: what is the use of cat command in linux 
Shell :: take a screenshot linux terminal 
Shell :: Set Up Your Username and Email in Git Command 
Shell :: fslmaths 
Shell :: permission to var/cache 
Shell :: linux source env file 
Shell :: how to add new line to each line 
Shell :: gimp deselect all 
Shell :: bat configuration file 
Shell :: printing in capital letter linux 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =