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