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 difference between pipe and xargs?
How would you change all occurrences of a value using VI?
How can you copy files or directories?
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.
What are grep patterns?
Give the command to display space usage on the UNIX file system.
Which command is used to delete all files in the current directory and all its sub-directories?
Explain mount and unmount command.
How to find and replace the below command?
Is ‘du’ a command? If so, what is its use?
Who command in unix?