GNU FILE UTILITIES
cd /mnt
Changes the current directory to /mnt
ls
Lists files and directories
mkdir [options] <directory>
mkdir dos
Creates the new directory dos as a subdirectory of the current directory
rmdir [options] <directory>
Removes empty directory
mount /dev/hdb1 /mnt/dos
Mounts second ide hard drive
mount /dev/fd0 /mnt/floppy
Mounts first floppy drive
mount /dev/cdrom /mnt/cdrom
Mounts cdrom
umount /dev/fd0
umount /dev/cdrom
Unmounts floppy, cdrom; required before removing disk (note: no n in umount)
cp [options] <source> <destination>
cp ./homework /mnt/floppy
Copies file homework from current directory to floppy disk
mv [option] <source> <destination>
mv current old
Changes the name of the file current to old
mv ~/old ~/archives
Where archives is a subdirectory of ~ (home directory), moves file old to archives
df [options] [file]
Shows free space on filesystems
df .
Shows free space on the filesystem containing the current directory