What command will bring user back to their home
directory in UNIX?

Answers were Sorted based on User's Feedback



What command will bring user back to their home directory in UNIX?..

Answer / suitable

cd ~
cd

Is This Answer Correct ?    31 Yes 1 No

What command will bring user back to their home directory in UNIX?..

Answer / jaga

cd

Is This Answer Correct ?    20 Yes 7 No

What command will bring user back to their home directory in UNIX?..

Answer / gireesh t

cd $HOME

Is This Answer Correct ?    7 Yes 2 No

What command will bring user back to their home directory in UNIX?..

Answer / madhu

cd ~

Is This Answer Correct ?    4 Yes 1 No

What command will bring user back to their home directory in UNIX?..

Answer / kamal

cd ~username

Is This Answer Correct ?    4 Yes 2 No

What command will bring user back to their home directory in UNIX?..

Answer / brijmohan

cd ~

~ (Tilde) : cd ~ this command will let you reach to current
logged user's home directory.

Is This Answer Correct ?    2 Yes 0 No

What command will bring user back to their home directory in UNIX?..

Answer / yuvaevergreen

cd ~ to home

Is This Answer Correct ?    1 Yes 0 No

What command will bring user back to their home directory in UNIX?..

Answer / pitambar mishra

To go to home directory :
cd
cd ~
cd $home
cd ~username
cd /home/username

To go to any users home directory :
cd ~username
cd /home/username

Is This Answer Correct ?    1 Yes 0 No

What command will bring user back to their home directory in UNIX?..

Answer / csc

cd
cd .
cd ~
cd /



cd .. (Bring back to parent directory)

Is This Answer Correct ?    6 Yes 7 No

What command will bring user back to their home directory in UNIX?..

Answer / upendar

cd \
-Is the command bring the user to home directory in UNIX..

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Unix Commands Interview Questions

What is the difference between pipe and xargs?

2 Answers   Amazon, CTS,


How would you change all occurrences of a value using VI?

4 Answers  


How can you copy files or directories?

1 Answers  


distinguish between multi-tasking,multi-user,multi- processing and time sharing?

7 Answers   Alcatel, Cisco, Infosys, University Exams,


What is a shell in Unix? Name some common Unix shells.

2 Answers  


What are grep patterns?

0 Answers  


Give the command to display space usage on the UNIX file system.

6 Answers  


Which command is used to delete all files in the current directory and all its sub-directories?

0 Answers  


Explain mount and unmount command.

0 Answers  


How to find and replace the below command?

2 Answers   HCL,


Is ‘du’ a command? If so, what is its use?

0 Answers  


Who command in unix?

0 Answers  


Categories