share
Server FaultCheat Sheets for System Administrators?
[+131] [44] splattne
[2009-06-25 11:47:11]
[ untagged ]
[ https://serverfault.com/questions/31495/cheat-sheets-for-system-administrators ]

I'd like to start a collection of good, free cheat sheet resources for system administrators. Please add your favorite ones. From the Wikipedia "cheat sheet" article [1]:

In more general usage, a "cheat sheet" is any short (one or two page) reference to terms, commands, or symbols where the user is expected to understand the use of such terms etc but not necessarily to have memorized all of them.

[+84] [2009-06-25 11:48:08] splattne

I add my own favorite: Cheat Sheets on PacketLife.com [1] has some very nice ones on network technology topics.

Cheat sheets are in PDF format. You are welcome to use and redistribute them as you please, so long as they remain intact and unmodified.

Currently there are six categories:

  • Protocols: BGP, EIGRP, First Hop Redundancy, IEEE 802.11 Wireless, IEEE 802.1X, IPsec, IPv4 Multicast, IPv6, IS-IS, OSPF, Spanning Tree
  • Applications: tcpdump, Wireshark Display Filters
  • Reference: Common Ports, IP Access Lists, Subnetting
  • Syntax: Markdown, MediaWiki
  • Technologies: MPLS, Quality of Service, VLANs
  • Miscellaneous: Cisco IOS Versions, Physical Terminations

Examples: Common Ports [2] and IPv6 [3] (links to PDF files)

Common Ports Cheat Sheet (PDF)

[1] http://packetlife.net/library/cheat-sheets/
[2] http://packetlife.net/media/library/23/common-ports.pdf
[3] http://packetlife.net/media/library/8/IPv6.pdf

(6) Oh, so THAT site is why wget has a --mirror function... Thanks! - Matt Simmons
(2) You know you have all that info in /etc/services, right Ok no color but still, it's handy - niXar
1
[+36] [2009-06-25 15:44:02] l0c0b0x

I wish to use this at some point... for now though, I'm a nano dork but thought it might be handy for some here:

Printable (PDFs)

QWERTY:http://locobox.googlepages.com/vi-vim-cheat-sheet-qwerty.pdf Dvorak:http://locobox.googlepages.com/vi-vim-cheat-sheet-dvorak.pdf

alt text http://locobox.googlepages.com/vi-vim-cheat-sheet.gif [1]

[1] http://locobox.googlepages.com/vi-vim-cheat-sheet.gif

a little frightened to ask, but do you have the qwerty? - Notmyfault
The link is to the DVORAK but the image posted is for the QWERTY - Mark Henderson
Sorry about that... ok, I added a link for the QWERTY version (now, both are there). Thanks for letting me know. - l0c0b0x
Hm. I think i prefer not to have to use a cheat sheet for my text editor. - RCIX
2
[+26] [2009-06-25 16:30:49] abourg

Learning Vim the Pragmatic Way. [1]

http://jrmiii.com/attachments/Vim.png

[1] http://jrmiii.com/2009/03/06/learning-vim-the-pragmatic-way.html

3
[+25] [2009-06-25 12:49:20] fretje

Map of the internet

Source [1]

[1] http://xkcd.com/195/

(3) I wonder what that looks like today. - Martijn Heemels
That's pretty cool! - Saif Khan
@Martijn Heemels: As of Feb 2011, it's much less interesting - no more green squares, IPv4 fully allocated. - Piskvor left the building
I love the ~~~ wavey lines! - Alan
4
[+24] [2009-06-25 13:35:07] splattne

OpenSSH Quick Reference

OpenSSH Quick Reference PDF

[1] http://www.bigfoot.com/~jialong_he
[2] http://www.cheat-sheets.org/saved-copy/OpenSSH_quickref.pdf

5
[+22] [2009-06-25 12:08:04] Maxwell

Protocol encapsulation chart from Wildpackets (PDF format) [1]

Protocol encapsulation chart image

Just my 2 cents.

[1] http://users.lmi.net/canepa/subdir/encasulation_chart.pdf

rlogin and rsh but no ssh? What is this, 1993? - Teddy
6
[+15] [2009-06-25 12:09:10] TCampbell

VMware Infrastructure 3 Reference Card [1]

AWK, NAWK, GAWK Cheat Sheet [2]

Rosetta Stone for UNIX [3]

[1] http://www.vreference.com/vi3-card
[2] http://www.catonmat.net/blog/awk-nawk-and-gawk-cheat-sheet/
[3] http://bhami.com/unix-rosetta.pdf

7
[+15] [2009-06-25 12:27:38] pauska

Google.com (I know - it's not a list with two-word commands, but it saves my behind every time).


(2) had to give it a +1 - cop1152
8
[+11] [2009-08-11 14:31:51] splattne

Computer Hardware Chart [1] (Geekologie):

Hardware Chart

[1] http://www.geekologie.com/image.php?path=/2009/07/22/computer-hardware-2.jpg

Geekologie is so much fun. ;) - Kara Marfia
Link to original: sonic840.deviantart.com/art/… - Teddy
9
[+10] [2009-06-26 08:30:12] Kramer

A while ago I found this helpful Linux/Unix Command Cheat Sheet [1].

Unix/Linux Command Reference

[1] http://fosswire.com/post/2007/08/unixlinux-command-cheat-sheet/

10
[+9] [2009-06-25 12:46:24] Speedimon

Nice Windows 2008 technology posters available here:

Windows Server 2008 Component Posters [1]

  • Windows Server 2008 Feature Components
  • Windows Server 2008 Active Directory Components

These two posters, originally published in the July 2007 issue of TechNet Magazine, provide a strong visual tool to aide in the understanding of various features and components of Windows Server 2008. One poster focuses exclusively on powerful new Active Directory technologies, while the other provides a technical look at a variety of new features available in Windows Server 2008 (such as Server Core, Network Access Protection, and more).

Windows Server 2008 PDF Posters

[1] http://www.microsoft.com/downloads/details.aspx?FamilyID=c2b9e44e-0bbd-47cb-bc09-b3d48be7f867&displaylang=en

11
[+9] [2009-06-25 12:52:10] Kara Marfia

PowerShell Quick Reference [1]

alt text

[1] http://www.microsoft.com/downloads/details.aspx?familyid=DF8ED469-9007-401C-85E7-46649A32D0E0&displaylang=en

12
[+9] [2009-06-26 07:26:15] Gregor

And a list with cheat sheets for different languages, systems and so on.

http://www.cheat-sheets.org/


Am I happy to find this link! - Mister IT Guru
13
[+8] [2009-06-25 13:16:18] Kara Marfia

Windows 2003 Command Line Reference [1] is more of a 50 lb manual than a cheat sheet, though if someone has something lightweight with the compressed syntax, that would rock...

[1] http://technet.microsoft.com/en-us/library/cc778084(WS.10).aspx

I found one here [pdf warning !] sans.org/resources/sec560/windows_command_line_sheet_v1.pdf which is far from complete though... I also found this: ss64.com/nt/index.html Not really a cheat sheet, but better than a 50 lb manual ;-) - fretje
I find myself with a series of little paper slips with syntax for dsquery & such. Maybe I'll get motivated and make my own admin-centric 2003 command cheat sheet. ;) - Kara Marfia
14
[+8] [2009-07-11 15:27:37] splattne

SQL Server Cheat Sheet [1]

The SQL Server cheat sheet is a one-page A4 printable document, designed to provide a quick reference for SQL Server. A description of what is on the cheat sheet follows, or if you are impatient, you can go straight to the full size SQL Server cheat sheet.

  • Data Types and Conversion
  • Functions
  • Creations

SQL Server Data Types and Conversion

Download link: PDF file [2]

[1] https://www.addedbytes.com/cheat-sheets/sql-server-cheat-sheet/
[2] https://www.addedbytes.com/cheat-sheets/download/sql-server-cheat-sheet-v1.pdf

15
[+7] [2010-03-01 20:43:18] Fahad Sadah

Not free, but definitely worth mentioning.
xkcd [1] have a wearable Linux cheat sheet [2].

xkcd Linux cheat shirt

[1] http://xkcd.com
[2] http://store.xkcd.com/xkcd/#LinuxCheatShirt

16
[+6] [2009-06-25 12:04:17] fretje

Life's cheat sheet http://909sickle.com/s/lifes-cheat-sheet/lifes-cheat-sheet.png [1]

Source [2]

[1] http://909sickle.com/s/lifes-cheat-sheet/lifes-cheat-sheet.png
[2] http://909sickle.com/s/lifes-cheat-sheet/

(8) your math doesn't add up here. you are born -1000 then going the job route you get +1000. Unless I missed something or this is some new age math stuff I thought -1000 + 1000 = 0. And then you get taxed on the 1000 that you earned so you really have -1. Am I missing something. - TechGuyTJ
(1) I think you'll have to ask the author about this... Don't shoot the messenger ;-) - fretje
(4) -1 (to the author) for spelling "marriage" incorrectly. - Dennis Williamson
17
[+6] [2009-06-25 12:18:18] phuzion

Simple RAID Cheat Sheet [1]

I'm sure it's just because I don't mess with RAID that often, but when I do need it, this is immensely helpful.

[1] http://www.hyperionreactor.net/blog/simple-raid-cheat-sheet

I edited the answer with the correct link. - splattne
It misses RAID-6, which is more and more common. And RAID-4, found in NetApp, DataDirect Networks and some other high-end products. - wazoox
If you've got a cheat sheet that has those, I'll add it into my post. - phuzion
The link appears to be broken again. - Zoredache
18
[+6] [2009-06-25 16:48:51] dr.pooter
[1] http://www.abbeyworkshop.com/howto/misc/svn01/
[2] http://refcards.com/

19
[+6] [2009-07-06 15:19:01] Justin

System Administrator Interview Cheat Sheet [1]

[1] http://mj12net.org/index.php/system-administrator-interview-cheat-sheet.html

20
[+5] [2009-06-25 15:32:08] matt

This regular expression cheat sheet in PDF format [1] has been pretty helpful in the past.

[1] http://www.addedbytes.com/download/regular-expressions-cheat-sheet-v2/pdf/

21
[+5] [2010-06-07 21:52:58] Ray

Unix Toolbox [1]

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.

[1] http://cb.vu/unixtoolbox.xhtml

22
[+4] [2009-06-25 12:36:00] MathewC
23
[+4] [2009-06-25 13:02:12] Alakdae

Useful Vim commands [1] (PDF).

[1] http://web.mit.edu/merolish/Public/vi-back.pdf

24
[+4] [2009-06-26 06:11:46] Kortex786

Linux Unix Cheat Sheets [1]

Ghantoos Memo [2]

Command Line Fu [3]

OpenBSD 101 [4]

[1] http://www.scottklarr.com/topic/115/linux-unix-cheat-sheets---the-ultimate-collection/
[2] http://ghantoos.org/memo/
[3] http://www.commandlinefu.com/commands/browse
[4] http://www.openbsd101.com/

25
[+4] [2009-07-07 13:41:32] squillman

http://www.connectionstrings.com

I use it all the time for system administrator and developer related tasks, especially when trying to make an applications talk to a database other than what it was originally designed for and the support isn't all that great.


Oh yes, I also use it when I have to deal with some exotic databases. Like Access ;-) - splattne
Heh. Yeah, all my Access work is done out of pity. - squillman
26
[+3] [2009-06-25 16:13:02] ericslaw

As an admin (and after) I find that I need to often create tools for the browser.

I'm not a designer (nor do I desire to be one), but I have found VisiBone [1] cheat sheets immensely helpful:

[1] http://www.visibone.com/
[2] http://html-tags.info/
[3] http://www.visibone.com/regular-expressions/

27
[+3] [2009-10-06 19:00:00] Xorlev

Rewrite Rules Cheat Sheet [1]

PECL Regex Cheat Sheet: PECL Cheat Sheet

[1] http://www.addedbytes.com/apache/mod_rewrite-cheat-sheet/

28
[+2] [2009-06-26 10:33:37] TimL

I created a Vim cheatsheet in various formats a couple of years ago: Vim Cheatsheet [1]

[1] http://tjl2.com/sysadmin/vim-cheat-sheet

29
[+2] [2009-06-26 17:14:35] Avery Payne

Found this whimpy list [1] of links to various sheets for various technologies...there's only, oh, I dunno, three dozen of these...

[1] http://whatis.techtarget.com/definition/0,,sid9_gci826135,00.html

30
[+2] [2009-07-15 15:27:53] splattne

Apache 1.3 Quick Reference Card

Apache Cheat Sheet thumbnail

Link: PDF file [1] (2 pages)

[1] http://refcards.com/docs/forda/apache/apache-refcard-a4.pdf

31
[+2] [2009-07-31 21:03:28] Marcin

Set Operations for Unix. some of the most useful stuff I've seen to date. Not only it speeds things up greatly, but it educates you how to do things in a smarter way than the CS101 'solve it for one case, put it in a loop' strategies.

Website [1] with explanations

Shorter version, for hanging on the cubewall: DOWNLOAD [2]

[1] http://www.catonmat.net/blog/set-operations-in-unix-shell/
[2] http://www.catonmat.net/download/setops.pdf

32
[+2] [2010-01-12 12:57:53] ecleel

Linux Command wallpaper

alt text http://www.letslearnlinux.com/suseblog/wallpaper/big/linux-wallpaper-for-beginners.jpg [1]

[1] http://www.letslearnlinux.com/suseblog/wallpaper/big/linux-wallpaper-for-beginners.jpg

33
[+2] [2010-07-27 10:04:30] Tim Church

DevCheatSheet.com [1] - Huge collection of cheat sheets and reference cards for developers (and admins)

[1] http://devcheatsheet.com/

34
[+1] [2009-06-26 21:17:26] Nathan Hartley

More for web development, but I just added the following excellent resource to my bookmarks this morning.

http://www.tripwiremagazine.com/tools/cheat-sheets/front-end-web-developers-toolbox.html

All of my other favorites have already been mentioned.


35
[+1] [2009-07-14 09:32:45] splattne

Oracle Server 9i Quick Reference Guide

Link: PDF file [1] (0.9 MB)*

* It's not really a cheat sheet, there are 37 pages, but it is very compressed information.

[1] http://www.cheat-sheets.org/saved-copy/9iquickref.pdf

36
[+1] [2009-07-31 19:52:23] jtimberman

Command-line Cheat Sheets [1]

And with an iPhone app [2].

[1] http://cheat.errtheblog.com/
[2] http://cheatapp.com/

37
[+1] [2009-08-07 14:13:19] Robert MacLean

There is a ton of good ones on www.drp.co.za [1]

[1] http://www.drp.co.za

38
[+1] [2009-12-03 21:59:32] fencepost

WordPress Template/Theme Editing [1]

Many sheets on many topics including HTML, JavaScript, JSP, CSS, Delphi, Ada, C, C#, C++, etc. ad nauseam [2] (a listing of sheets from many sources)

Also and perhaps most important for admins even if it's not really a single-page format: Rosetta Stone for Unix [3] which lists equivalent commands for AIX, A/UX, DG/UX, FreeBSD, HP-UX, IRIX, Linux, Mac OS X, NCR Unix, NetBSD, OpenBSD, Reliant, SCO OpenServer, Solaris, SunOS 4, Tru64, Ultrix and UNICOS

That last one was very useful when dealing with disks - I was looking for something like parted, not for "divvy" which is what SCO OpenServer uses.

[1] http://ekinertac.com/?p=259
[2] http://www.digilife.be/quickreferences/quickrefs.htm
[3] http://bhami.com/rosetta.html

39
[+1] [2009-12-16 06:25:35] Tao Zhyn

Blog Post: PowerShell Cheat Sheet Redux - the PDF version [1]

Two page cheat sheet for some common group of tasks

[1] http://blogs.msdn.com/powershell/archive/2007/01/25/powershell-cheat-sheet-redux-the-pdf-version.aspx

40
[+1] [2010-03-24 02:02:10] mattonrails

I keep the Vi Reference Mug on my desk just in case I forget something.

Also, I saw a cheat sheet here for Subversion but not one for Git. Try this one [1].

[1] http://mattonrails.com/files/Git.png

(1) Mentioned link is dead. Check here for more Git cheat sheets: zrusin.blogspot.com/2007/09/git-cheat-sheet.html - Henk
41
[0] [2009-09-03 14:41:51] Kara Marfia

Exchange 2007 Management Shell Quick Reference [1] - it's a start, anyway.

[1] http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=01a441b9-4099-4c0f-b8e0-0831d4a2ca86&displaylang=en

42
[0] [2011-05-03 20:13:54] Henk

jQuery cheat sheet

[1] http://wiki.samat.org/CheatSheet/OpenSSL
[2] http://woorkup.com/2010/06/13/jquery-1-4-2-visual-cheat-sheet/

43
[0] [2011-06-01 08:34:11] ewwhite

Real World FIND usage:

The original page is gone (also linked from Linux Today [1]), but I found it again on web.archive.org. http://web.archive.org/web/20090426000044/http://www.wagoneers.com/UNIX/FIND/find-usage.html

Whenever I had a question about unix find syntax or needed an example, I'd reference this.

find / -type f -name *.jpg  -exec cp {} . \;
find . -type f -size +10000 -exec ls -al {} \;
find . -atime +1 -type f -exec mv {} TMP \; # mv files older then 1 day to dir TMP
find . -name "-F" -exec rm {} \;   # a script error created a file called -F 
find . -exec grep -i "vds admin" {} \;
find . \! -name "*.Z" -exec compress -f {} \;
find . -type f \! -name "*.Z" \! -name ".comment" -print | tee -a /tmp/list
find . -name *.ini
find . -exec chmod 775 {} \;
find . -user xuser1 -exec chown -R user2 {} \;
find . -name ebtcom*
find . -name mkbook
find . -exec grep PW0 {} \;
find . -exec grep -i "pw0" {} \;
find . -atime +6
find . -atime +6 -exec ll | more
find . -atime +6 -exec ll | more \;
find . -atime +6 -exec ll \;
find . -atime +6 -exec ls \;
find . -atime +30 -exec ls \;
find . -atime +30 -exec ls \; | wc -l
find . -name auth*
find . -exec grep -i plotme10 {};
find . -exec grep -i plotme10 {} \;
find . -ls -exec grep 'PLOT_FORMAT 22' {} \;
find . -print -exec grep 'PLOT_FORMAT 22' {} \;
find . -print -exec grep 'PLOT_FORMAT' {} \;
find . -print -exec grep 'PLOT_FORMAT' {} \;
find ./machbook -exec chown 184 {} \;
find . \! -name '*.Z' -exec compress {} \;
find . \! -name "*.Z" -exec compress -f {} \;
find /raid/03c/ecn -xdev -type f -print
find /raid/03c/ecn -xdev -path -type f -print
find / -name .ssh* -print | tee -a ssh-stuff
find . -name "*font*"
find . -name hpmcad*
find . -name *fnt*
find . -name hp_mcad* -print
find . -grep Pld {} \;
find . -exec grep Pld {} \;
find . -exec grep Pld {} \;
find . -exec grep PENWIDTH {} \; | more
find . -name config.pro
find . -name config.pro
find /raid -type d ".local_sd_customize" -print
find /raid -type d -name ".local_sd_customize" -print
find /raid -type d -name ".local_sd_customize" -ok cp /raid/04d/MCAD-apps/I_Custom/SD_custom/site_sd_customize/user_filer_project_dirs {} \;
find /raid -type d -name ".local_sd_customize" -exec cp /raid/04d/MCAD-apps/I_Custom/SD_custom/site_sd_customize/user_filer_project_dirs {} \;
find . -name xeroxrelease
find . -exec grep xeroxrelease {} \;
find . -name xeroxrelease
find . -name xeroxrelease* -print 2>/dev/null
find . -name "*release*" 2>/dev/null
find / -name "*xerox*" 2>/dev/null
find . -exec grep -i xeroxrelease {} \;
find . -print -exec grep -i xeroxrelease {} \;
find . -print -exec grep -i xeroxrelease {} \; > xeroxrel.lis
find . -exec grep -i xeroxrel {} \;
find . -print -exec grep -i xeroxrel {} \;
find . -print -exec grep -i xeroxrel {} \; | more
find /raid/03c/inwork -xdev -type f -print >> /raid/04d/user_scripts/prt_list.tmp
find . -exec grep '31.53' {} \;
find . -ls -exec grep "31/.53" {} \; > this.lis
find . -print -exec grep "31/.53" {} \; > this.lis
find . -print -exec grep 31.53 {} \; > this.lis
find . -exec grep -i pen {} /;
find . -exec grep -i pen {} \;
find . -print -exec grep -i pen {} \; | more
find . -exec grep -i pen {} \;
find . -atime +6 -exec ll | more \;
find . -atime +6 -exec ll \;
find . -atime +6 -exec ls \;
find . -atime +30 -exec ls \;
find . -atime +30 -exec ls \; | wc -l
find . \! -name '*.Z' -exec compress -f {} \;
find . -name 'cache*' -depth -exec rm {} \;
find . -name 'cache*' -depth -print | tee -a /tmp/cachefiles
find . -name 'cache[0-9][0-9]*' -depth -print | tee -a /tmp/cachefiles
find . -name 'hp_catfile' 'hp_catlock' -depth -print | tee -a /tmp/hp.cats
find . -name 'hp_catfile' -name 'hp_catlock' -depth -print | tee -a /tmp/hp.cats
find . -name 'hp_cat*' -depth -print | tee -a /tmp/hp.cats
find . -name 'hp_cat[fl]*' -depth -print | tee -a /tmp/hp.cats
find /raid -name 'hp_cat[fl]*' -depth -print
find . \! -name '*.Z' -exec compress -f {} \;
find . -name '*' -exec compress -f {} \;
find . -xdev -name "wshp1*" -print
find . -xdev -name "wagoneer*" -print
find . -name "xcmd" -depth -print
find /usr/contrib/src -name "xcmd" -depth -print
find /raid -type d -name ".local_sd_customize" -exec ls {} \; 
find /raid -type d -name ".local_sd_customize" \
   -exec cp /raid/04d/MCAD-apps/I_Custom/SD_custom/site_sd_customize/user_filer_project_dirs {} \;
[1] http://www.linuxtoday.com/news/2009071502435PS

44