cat [file] |
Shows the contents of file |
less [file] |
Shows the contents of file in pages |
zless [file] |
Shows the contents of compressed files |
more [file] |
Like less, but without paging backwards |
head [file] |
Shows the first 10 lines of file |
tail [file] |
Shows the last 10 lines of file |
tac [file] |
Displays contents of file, starting with the last line |
sort [file] |
Sorts the contents of file line by line |
csplit [file] |
Splits [file] |
grep [string] [files] |
Displays all lines of the given files which contain the
string |
recode |
Converts files between various character sets |
fdisk |
Creates and formats disk partitions |
mke2fs |
Creates an ext2 file system |
e2fsck |
Checks and repairs an ext2 file system |
df |
Displays free disk space on all mounted partitions |
du [directory] |
Displays the size of directory |
free |
Displays free space in RAM and the swap area |
mkswap |
Creates a swap space |
swapon |
Activates the swap space |
swapoff |
Deactivates the swap space |
sync |
Writes buffered data onto the hard disk |
mount |
Mounts a file system |
umount |
Unmounts a mounted file system |
date |
Displays and modifies the system time |
dmesg |
Displays kernel messages during the boot process |