1
dpkg -l @: package : Find version of a package
2
df -h: : file system disk space usage
3
free -m: : show RAM usage
4
ps auxww | grep @: process : displays information about the active process
5
iwconfig: : Display wireless network information
6
ifconfig -a: : displays the status of the currently active interfaces
7
sudo iwlist: : scan Scan Wireless networks
8
sudo /etc/init.d/networking restart: : Reset the Network
9
lsb_release -a: : What version of Ubuntu do I have?
10
uname -a: : What kernel am I running
11
sudo apt-get update && sudo apt-get upgrade: : Refresh update info and update all packages
12
sudo apt-get clean: : clear out all packages in /var/cache/apt/archives
13
sudo apt-get autoclean : : clear out obsolete packages(packages with a newer release)
14
apt-cache search @ :package : Find information on a package (not installed)
15
sudo lshw : : List hardware
16
lspci : : list all PCI devices
17
aplay -l : : List all soundcards and digital audio devices
18
cat @ :path: Read File & Print to Standard Output
19
ls @ :path : List Folders Contents
20
ls -lSr @ :path : Show files by size, biggest last
21
mv @ :path : Move (Rename) Files
22
cp @ :path : Copy Files
23
sudo lspci : : attached PCI devices
24
chmod @ @ : permissions, file : Change access permissions, change mode
25
chown @ @: owner:group, file : Change the owner and/or group of each given file
26
dmesg : : Print kernel & driver messages
27
history : : Command History
28
locate @ : file : Find files (updatedb to update DB)
29
sudo updatedb : : update the database for locate
30
which @ :command : Show full path name of command
31
find -maxdepth 1 -type f | xargs grep -F @ :string : Search all regular files for 'string' in this dir
32
gpg -c @ :file : Encypt a file
33
gpg @ :file.gpg : Decrypt a file
34
tar -xjf @ :archive.tar : Extract all files from archive.tar
35
tar -czf @ :Destination.tar.gz Source : Create Destination from Source
36
iostat : : cpu and I/O statistics
37
netstat : : Print network connections and interface statistics
38
sudo fdisk -l @ :disk : List partition tables for specified devices
39
sudo ufw enable : : Enable netfilter firewall
40
sudo ufw allow @ :port : Open a port in netfilter firewall
41
sudo ufw deny @ :port : Close a port in netfilter firewall
42
sudo ufw disable : : Disable netfilter firewall
43
cat @ @ | sort | uniq > @ : file1, file2, file3 : combine, sort and remove duplicates from 2 files
44
mkisofs -V LABEL -r dir | gzip > @ :isoname.iso.gz : Create cdrom image from contents of directory
45
cdrecord -v dev=/dev/cdrom -audio -pad *.wav : : Make audio CD from all wavs in current dir
46
dpkg-query -W -f='${Installed-Size;10}\t${Package}\n' | sort -k1,1n : : List all installed packages by size
47
tail -f /var/log/messages : : Monitor messages log file
48
apropos @ :command/package : search the manual page names and descriptions
1
dpkg -l @ package Find version of a package
2
df -h file system disk space usage
4
ps auxww | grep @ process displays information about the active process
5
iwconfig Display wireless network information
6
ifconfig -a displays the status of the currently active interfaces
7
sudo iwlist scan Scan Wireless networks
8
sudo /etc/init.d/networking restart Reset the Network
9
lsb_release -a What version of Ubuntu do I have?
10
uname -a What kernel am I running
11
sudo apt-get update && sudo apt-get upgrade Refresh update info and update all packages
12
sudo apt-get clean clear out all packages in /var/cache/apt/archives
13
sudo apt-get autoclean clear out obsolete packages(packages with a newer release)
14
apt-cache search @ package Find information on a package (not installed)
15
sudo lshw List hardware
16
lspci list all PCI devices
17
aplay -l List all soundcards and digital audio devices
18
cat @ path Read File & Print to Standard Output
19
ls @ path List Folders Contents
20
ls -lSr @ path Show files by size, biggest last
21
mv @ path Move (Rename) Files
23
sudo lspci attached PCI devices
24
chmod @ @ permissions, file Change access permissions, change mode
25
chown @ @ owner group, file Change the owner and/or group of each given file
26
dmesg Print kernel & driver messages
27
history Command History
28
locate @ file Find files (updatedb to update DB)
29
sudo updatedb update the database for locate
30
which @ command Show full path name of command
31
find -maxdepth 1 -type f | xargs grep -F @ string Search all regular files for 'string' in this dir
32
gpg -c @ file Encypt a file
33
gpg @ file.gpg Decrypt a file
34
tar -xjf @ archive.tar Extract all files from archive.tar
35
tar -czf @ Destination.tar.gz Source Create Destination from Source
36
iostat cpu and I/O statistics
37
netstat Print network connections and interface statistics
38
sudo fdisk -l @ disk List partition tables for specified devices
39
sudo ufw enable Enable netfilter firewall
40
sudo ufw allow @ port Open a port in netfilter firewall
41
sudo ufw deny @ port Close a port in netfilter firewall
42
sudo ufw disable Disable netfilter firewall
43
cat @ @ | sort | uniq > @ file1, file2, file3 combine, sort and remove duplicates from 2 files
44
mkisofs -V LABEL -r dir | gzip > @ isoname.iso.gz Create cdrom image from contents of directory
45
cdrecord -v dev=/dev/cdrom -audio -pad *.wav Make audio CD from all wavs in current dir
46
dpkg-query -W -f='${Installed-Size;10}\t${Package}\n' | sort -k1,1n List all installed packages by size
47
tail -f /var/log/messages Monitor messages log file
48
apropos @ command/package search the manual page names and descriptions