Top 10 Best Cheat Sheets and Tutorials for Linux / UNIX Commands

Posted on in Categories Linux, Sys admin, UNIX last updated November 4, 2015

Cheat sheet act as a reference tool which provides cut and paste kind of commands to complete a specific task. I often recommend following set of best cheat sheets to students and IT professionals. It include Linux/UNIX command and shell scripting.

Unix Toolbox

This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.

=> Visit UNIX Toolbox

UNIX Tutorial for Beginners

A beginners guide to the Unix and Linux operating system. Eight simple tutorials which cover the basics of UNIX / Linux commands.

=> Visit UNIX Tutorial for Beginners

Linux Command and Learning Shell Tutorials

You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this “terminal” thing. Don’t worry, this site will show you what to do.

=> Visit Learning the shell

Learn UNIX in 10 minutes

This is something that I had given out to students (CAD user training) in years past. The purpose was to have on one page the basics commands for getting started using the UNIX shell (so that they didn’t call me asking what to do the first time someone gave them a tape).

=> Visit Learning UNIX in 10 minutes

How To Look Like A UNIX Guru

This lecture takes you through the basic commands and then shows you how to combine them in simple patterns or idioms to provide sophisticated functionality like histogramming. This lecture assumes you know what a shell is and that you have some basic familiarity with UNIX.

=> Visit How To Look Like A UNIX Guru

Linux command line reference

Another very good Linux command line reference for common operations.

=> Visit Linux Command Line Reference

Linux-Unix cheat sheets – The ultimate collection

Links to good reference material on various topics.

=> Visit Linux-Unix cheat sheets – The ultimate collection (dead link removed)

Alphabetical Directory of Linux Commands

This directory of Linux commands is from Linux in a Nutshell, 5th Edition. You can view total 687 commands to get a description and list of available options.

=> Visit directory of Linux commands

A Sysadmin’s Unixersal Translator (ROSETTA STONE)

A simple and nice lookup table for Linux / UNIX / BSD commands.

=> Visit Sysadmin’s Unixersal Translator (ROSETTA STONE) (PDF version)

BigAdmin – System Administrator Resources and Community

Sun has BigAdmin portal with tons of information regarding UNIX, shell scripting and much more.

=> Visit BigAdmin System Administration Portal- Shell Commands (dead link removed, added link)

Please feel free to suggest some of the UNIX cheat sheets / tutorials, I did not mentioned here in the comments.

30 comment

  1. [email protected] says:

    Very usuefull information.

  2. More to add–


    tail -10 access_log.2009-01-19 | awk '/go/ { print $13 }'

    it will grep the /go/ apps and cut the 13 th delem’s …. isnt its great !
    Rogers 87 100 95
    Lambchop 66 89 76
    Barney 12 36 27

    You can perform calculations like this:

    awk '{print "Avg for",$1,"is",($2+$3+$4)/3}'
    Avg for Rogers is 94
    Avg for Lambchop is 77
    Avg for Barney is 25


    cat access_log.2009-01-19 | grep $1 | cut -f13 -d" "| awk '{ request += $1 } END { print request }'

    ll -R . | grep "jpg\\|mp4\\|3gp\\|gif" | grep "Apr\\|May\\|Jun" | awk '{print $5"\t" $6}'

    ps auxwww | grep daemon | grep -v grep | awk '{print $11}'

    cat /home/girish/script/ReportTool/user/letmeuse.2009-02-05 | cut -f1 | awk '{print substr($1,1,6)}'| sort -nr

    SUBSTR ka BAAP ::
    cat /home/girish/script/ReportTool/user/letmeuse.2009-02-05 | cut -c1-6 | awk '{print $1,"=",$2,",",$3}'

    mitLOAD DATA LOCAL INFILE ‘/tmp/tbl_change_2.sql’ INTO TABLE ‘tbl_operator_ip’ FIELDS TERMINATED BY ‘\t’ LINES TERMINATED BY ‘\n’;

    To Read Key And Value from the properties file……..

    KEY VALUE :: tail -1 temp |awk -F= 'END { printf "keys=%s\nvalues=%s\n", k, v }
    { k = k ? k s $1 : $1; v = v ? v s $2 : $2 }
    ' s="|"

  3. Reaaly good and helpful links.. i will refer all of you to go through these links its really worth to spend time in it..

  4. The missing cheat sheet: The manual pages! On the commandline try `man command` (as in `man man`) and see the details of the command.

Leave a Comment