Contents
How do I get to a different drive in Linux?
How to change directory in Linux terminal
- To return to the home directory immediately, use cd ~ OR cd.
- To change into the root directory of Linux file system, use cd / .
- To go into the root user directory, run cd /root/ as root user.
- To navigate up one directory level up, use cd ..
- To go back to the previous directory, use cd –
9 февр. 2021 г.
How do I get to C drive in Linux?
The root of the file system in Linux is denoted by ‘/’. Similar to ‘c:’ in Windows. Type ‘cd /’ to move to the root directory.