Tú Linh Nguyễn
New member
How do I get to the root directory in Unix?
Answer
The most commonly used options are listed below.
Answer
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.