Ubuntu Linux Absolute Beginners Command Quick Reference
Ubuntu Linux Absolute Beginners Command Quick Reference
Getting Help
http://www.ubuntu.com/support
http://ubuntuforums.org/
http://ubuntuguide.org
http://linuxquestions.org/
Pressing F1 will open help for the current application
man any_command
Display the man page for the given
command, e.g. man cp press q to exit
info any_command
apropos subject
Display related man pages for the given
or man -k subject subject e.g. apropos copy file
V1.52
19/07/2008
Installing Software
Most software installation will require superuser (root) permissions,
precede the following coomands with sudo when required.
Using apt
User/group Admin
adduser name
passwd username
apt-get update
sudo command
sudo -s
apt-get upgrade
su username
exit
File Handling
Using dpkg (Installing .deb files)
ls -l
ls -F
list files in the current dir and show the file type
dpkg -i file.deb
Install file.deb
ls -a
dpkg -r file.deb
cd name
dpkg -P file.deb
cd
dpkg-reconfigure pkg
Reconfigure pkg
rm name
rm -rf name
Uncompressing files
tar -zxvf arch.tar.gz
Uncompress arch.tar.gz
Uncompress arch.tar.bz2
System Information
cp file dest
mv file dest
lshw or lspci or
lsusb or report-hw
cat file
uname -r
more file
dmesg
less file
head file
blkid
tail file
touch file
updatedb
which exec
Shutdown now
halt
As above
shutdown -r now
reboot
As above
shutdown -r 5
startx
V1.52
19/07/2008
General
Owner
Group
Others
rwx
rwx
rwx
File Type
- = File
d = Directory
l = Link
Config Files
Make a backup of any file before editing by issuing a
cp origfilename backupfilename command
/etc/profile
System wide environment
variables for all users
/etc/fstab
/etc/cron.
hourly daily
weekly monthly
crontab -e
/etc/hosts
/boot/grub/menu.lst
X-Shortcuts (Desktop)
alt+F2
alt+F6
alt+F9
alt+F10
Ctrl+alt+F?
Ctrl+alt+Backspace
Ctrl+alt+Cursor
Switch workspace
Ctrl+alt+Tab
Compiz-Fusion
ctrl+alt+ or
Rotate cube
ctrl+alt+left click
ctrl+alt+
Unfold cube
shift+alt+
Window picker
alt+tab
Window switch
/etc/X11/xorg.conf
super+tab
Ring switcher
alt+F7
Move window
Slow animations
/etc/resolv.conf
Processes
ps -e
shift+F10
ps -ef
ctrl+alt+D
Show desktop
super+s
Select window
ps -elf
super+t
Tab group
pstree
super+ or
Change tab
pstree -pu
super+g
Group windows
super+u
Ungroup windows
kill 12345
super+r
Remove group
renice +1 12345
super+c
Close group
super+x
Ignore group