FileSystem Command

#show mount partition

df

#show all partition

fdisk -l

#mount

mount /dev/sdb2 /home/wo/Desktop/1TB

#boot computer auto mount

vi /etc/fstab

#show UUID

ls -l /dev/disk/by-uuid/

blkid -s UUID

#mount old path to new path

mount –bind /home/upload /var/www/html/upload

#Hard Link = point to same inode of file, not to directory.

ln from to

#Symbolic Link = sort cut to destination, the permission is not allow.

ln -s from to

#create swap

mkswap /dev/hdb2

#use swap

swapon /dev/hdb2