John Topley's KnowledgebaseUseful Linux/UNIX CommandsFriday, 30 May 2003The following is a list of useful commands for accomplishing various tasks with Linux/UNIX. Use these commands to:
man name | col -b > filename
man -a name
man -k keyword
man -P pagername
exec login username
logname
Ctrl + D
passwd username
cd -
cd ~
pwd
touch filename
wc filename (wc -c, wc -w, wc -l)
du (du -a, du -s)
file filename
quota (quota -v, quota -g, quota -g., quota username)
ls foo*
ls *.bar
ls *.?
ls [fb]
ls [b-f]*
ls foo*
ls -l | cut -c33-42 | sort -nr | head -1
mount -t msdos /dev/hda1/mnt/c:
mount -t iso9660 /dev/hdc/mnt/cdrom
umount /mnt/foo
fdformat /dev/fd0H1440
mkfs -t ext2 -c /dev/fd0H1440
ps (ps -f, ps -l)
bg commands
fg process
nohup command &
kill -l
kill -l $?
env
date
finger |
![]() |

