Professional Documents
Culture Documents
The One Page Linux Manual: A Summary of Useful Linux Commands
The One Page Linux Manual: A Summary of Useful Linux Commands
May 1999
squadron@powerup.com.au
rm name
rm -rf name
cp filename
/home/dirname
halt
shutdown -r 5
shutdown -r now
mv filename
/home/dirname
reboot
cat filetoview
man -k keyword
more filetoview
head filetoview
tail filetoview
startx
umount /mnt/cdrom
rpm -e package
rpm -l package
locate missingfilename
updatedb
which missingfilename
grep textstringtofind
/dir
./configure
XF86Setup
Xconfigurator
xf86config
User Administration
adduser accountname
passwd accountname
su
exit
ls -l
ifconfig
ls -F
apropos subject
usermount
ls -laC
/sbin/e2fsck hda5
fdformat /dev/fd0H1440
tail -f /var/log/messages
cat /var/log/dmesg
File permissions
[xyz]
linux single
ps
kill 123
Write = 2
Execute = 1
chmod 7 5 5
chmod +x filename
/etc/profile
Control|Alt + or -
/etc/fstab
Alt | escape
Shift|Control F8
Display menu
Shift|Control Altr
Shift|Control Altx
/etc/motd
etc/rc.d/rc.local
/etc/HOSTNAME
/etc/cron.*
/etc/hosts
/etc/httpd/conf
/etc/inittab
Printing
/etc/rc.d/init.d/lpd start
/etc/rc.d/init.d/lpd stop
/etc/rc.d/init.d/lpd
status
lpq
/etc/resolv.conf
lprm
/etc/smb.conf
lpr
Print a file
lpc
/etc/X11/XF86Confi
g
printtool
~/.xinitrc
~/.Xdefaults