Which of the following command is used to go to home directory?
Answer: Option C
No answer description available for this question.
|Ankur said: (Oct 27, 2016)|
|No, this answer is wrong.
The correct option is B i.e. cd/.
|Swetha said: (Jun 21, 2018)|
|The cd has many useful options. You can see all of these options by entering man cd at the shell prompt. The most commonly used options are listed below.
cd " Returns you to your login directory.
cd - " Returns you to your previous working directory.
cd ~ " Also returns you to your login directory.
cd / " Takes you to the entire system's root directory.
cd /root " Takes you to the home directory of the root user. You must be the root user to access this directory.
cd /home " Takes you to the home directory, where user login directories are usually stored.
cd .. " Takes you to the directory one level up.
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.