What command will bring user back to their home
directory in UNIX?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / csc
cd
cd .
cd ~
cd /
cd .. (Bring back to parent directory)
| Is This Answer Correct ? | 6 Yes | 7 No |
Answer / upendar
cd \
-Is the command bring the user to home directory in UNIX..
| Is This Answer Correct ? | 0 Yes | 1 No |
What is the Unix file system hierarchy?
How do I find previous commands in unix?
What is the general format of unix command syntax?
What is the pipe command?
who to change the duplex setting of network interface in command line
Explain command to show the space allocation of files?
Write a command to find all of the files which have been accessed within the last 30 days.
What is the function of grep command in unix?
How to add content of one file into another file at the beginning
Why is shebang used?
what is the difference between "cron" command and "at" command?
Which RAID Levels supported by LVM?