11
11
sudo apt-get update && sudo apt-get upgrade: : Refresh update info and update all packages
12
12
sudo apt-get clean: : clear out all packages in /var/cache/apt/archives
13
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)
14
apt-cache search @ :package : Find information on a package (not installed)
15
15
sudo lshw : : List hardware
16
16
lspci : : list all PCI devices
17
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
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
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
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
26
dmesg : : Print kernel & driver messages
27
27
history : : Command History
28
locate : file : Find files (updatedb to update DB)
28
locate @ : file : Find files (updatedb to update DB)
29
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
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
36
iostat : : cpu and I/O statistics
37
37
netstat : : Print network connections and interface statistics
38
sudo fdisk -l :disk : List partition tables for specified devices
38
sudo fdisk -l @ :disk : List partition tables for specified devices
39
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
40
sudo ufw allow @ :port : Open a port in netfilter firewall
41
sudo ufw deny @ :port : Close a port in netfilter firewall
42
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 > cdrom.iso.gz :isoname.iso.gz : Create cdrom image from contents of directory
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
45
cdrecord -v dev=/dev/cdrom -audio -pad *.wav : : Make audio CD from all wavs in current dir
46
46
dpkg-query -W -f='${Installed-Size;10}\t${Package}\n' | sort -k1,1n : : List all installed packages by size
47
47
tail -f /var/log/messages : : Monitor messages log file
48
apropos :command/package : search the manual page names and descriptions
48
apropos @ :command/package : search the manual page names and descriptions