[email protected]$ man -t man | ps2pdf - > man.pdfRun a low priority command
[email protected]$ niceGo to previous directory
[email protected]$ cd -Go to dir, execute command and return to current dir
[email protected]$ (cd dir && command)Make compressed archive of dir/
[email protected]$ tar -c dir/ | bzip2 > dir.tar.bz2Extract archive (use gzip instead of bzip2 for tar.gz files)
[email protected]$ bzip2 -dc dir.tar.bz2 | tar -xDisplay a calendar for a particular month year
[email protected]$ cal 9 2008What date is it this friday.
[email protected]$ date -d friWhat day does xmas fall on, this year
[email protected]$ date --date='25 Dec' +%AConvert seconds since the epoch (1970-01-01 UTC) to date
[email protected]$ date --date='@2147483647'Email reminder
[email protected]$ echo "mail -s 'reminder' user@address.com < /dev/null" | at 20:00Show name and version of distribution
[email protected]$ head -n1 /etc/issueShow all partitions registered on the system
[email protected]$ cat /proc/partitionsDownload url at 1AM to current dir
[email protected]$ echo 'wget url' | at 01:00You can find more commands from Linux Commands – A Practical Reference. Or more on Top 10 Best Cheat Sheets for Linux Commands