Contents
How do you switch between drives 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 ..
How do I access other drives in Linux?
You can mount the other drives with the following command lines.
- List drives in order to identify partitions sudo lsblk -o model,name,size,fstype,label,mountpoint.
- Create mountpoints (only once). …
- Mount the relevant partition sudo mount /dev/sdxn <mountpoint>