Quick Answer: How Do I Access a Different Drive in Linux?
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...
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 ..
Must Read
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>