How can you come to the home directory?

Cd $HOME

Showing Answers 1 - 34 of 34 Answers

Thiyagarajan

  • Nov 16th, 2005
 

cd

  Was this answer useful?  Yes

Anas

  • Mar 1st, 2006
 

cdcd ~cd ~myusernamecd $HOME

  Was this answer useful?  Yes

dayanand

  • Mar 14th, 2006
 

cd ~

This command will direct you to the user directory

cd $HOME

This command will direct you to the Home directory

  Was this answer useful?  Yes

russpark

  • Sep 29th, 2010
 

This is a vague question, so I'll provide multiple answers.

1. Home differs on various flavors of UNIX, but standard for most is: /home.  To change directory to the Home directory, you would issue, cd /home.
2. Any user can change to their own $HOME directory by running: cd  or cd $HOME.
3. Within certain shells, the ~ represents the root of all user's home directories, so you could change to a specific user's home by running: cd ~username where you would insert the actual userid for username.

pravin

  • Aug 24th, 2012
 

These are following ways to jump to the Home directory
1. cd
2. cd ~
3. cd ~
4. cd ${HOME}

  Was this answer useful?  Yes

Arun

  • Jul 5th, 2015
 

cd ~ takes to you to your home

  Was this answer useful?  Yes

SHIVAG

  • Jul 17th, 2015
 

ans 1: cd /Home
ans 2: cd~

  Was this answer useful?  Yes

shubham garg

  • Sep 7th, 2015
 

You will in home_diretory
cd
cd ~

  Was this answer useful?  Yes

Subrata Chakrabortty

  • Mar 9th, 2016
 

cd , cd ~, cd $HOME.

  Was this answer useful?  Yes

sandip

  • Sep 4th, 2016
 

cd ~
cd $HOME

  Was this answer useful?  Yes

Anupam Kumar

  • Oct 27th, 2016
 

cd ~

  Was this answer useful?  Yes

Priyabrata Pradhan

  • Jul 9th, 2017
 

cd
i.e cd without any argument

  Was this answer useful?  Yes

mahes

  • Dec 3rd, 2017
 

cd $home
cd ~

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions