News
Hosted on MSN8mon
Mastering the Linux File System: My Go-To Commands and Tips - MSNcd: Change directory. This is the bread and butter of navigation. Whether I'm jumping to my home directory (cd ~) or moving up a level (cd ..), cd is my most-used command. ls: List directory contents.
sudo mv /home /home.bak. Create a new home directory with: sudo mkdir /home. Unmount /dev/sdb1 with: sudo umount /dev/sdb1. Remount /dev/sdb1, only this time to the newly-created /home directory with: ...
Let’s say you have a directory called SCRIPTS in your home directory. Let’s add that to the PATH. Log into your Linux machine and open a terminal window.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results