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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use nslookup?

575


Write a command that will display files in the current directory, in a colored, long format.

685


What does the metacharacter mean?

610


what is the advaantage of each user having its own copy of the shell?

2037


Explain ‘library functions’ with respect to unix commands?

604






How do I search a whole word in vim?

693


How does shebang work?

592


What do know about tee command?

607


What do chgrp command do?

590


What is ctrl d?

595


What is the command to find hidden files in the current directory?

583


Explain ‘system calls’ with respect to unix commands?

604


Who wrote grep?

585


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

639


Which command is used to create a directory?

575