A long, long time ago when I was mastering Linux I created three cheat sheets about GNU fileutils, GNU shellutils and GNU textutils. I'd keep them in front of me at all times, and I quickly memorized which commands did what.

A few days ago I remembered about them and decided to publish them on my blog but it turns out fileutils, shellutils and textutils were merged in GNU coreutils in 2003; so I thought why not create a new cheat sheet that lists all the utilities in coreutils along with their short descriptions.

Here is the GNU coreutils cheat sheet that lists all programs that are in coreutils:


Download PDF | Download PNG | Download XLSX

This cheat sheet is really useful if you're learning Linux and want to have a quick overview of all the available commands!

Bonus: Here are some of the commands that I used to create the cheat sheet:

$ curl 'http://www.gnu.org/software/coreutils/manual/coreutils.html' 2>/dev/null |
    grep 'h3 class' |
    grep 'class="command"' |
    sed 's/.*class="command">//' |
    sed 's|</span></samp>||' |
    sed 's|</h3>||' |
    grep ':' |
    sort

This one extracts the command descriptions from the coreutils manual.

And:

$ wget 'http://ftp.gnu.org/gnu/coreutils/coreutils-8.13.tar.gz'
$ gunzip < coreutils-8.13.tar.gz | tar -vx
$ cd coreutils-8.13/src
$ find . -name '*.c' | sort | xargs head -1

This one extracts the command descriptions from the program C source files.

Also take a look at other cheat sheets that I've created. They include awk, ed, sed, perl, screen, bash, and many others.

Comments

Gaurav Permalink
September 05, 2012, 04:00

nice to get all the commands at one place..

September 09, 2012, 04:18

Exactly that's the main benefit, did I missed download Link ?

Mother of the Bride Dresses Permalink
October 01, 2013, 11:00

This particular blog is really awesome as well as informative. I have picked up a lot of handy things out of this amazing blog. I’d love to come back over and over again. Thanks.Mother of the Bride Dresses

Camp Staff Permalink
November 21, 2013, 15:59

Quality articles is the important to attract the people to pay a visit the website.
Camp Staff thanks

Ibiza Holiday Permalink
October 05, 2013, 04:56

This post is very simple to read and appreciate without leaving any details out. Great work! You completed certain reliable points there.Ibiza Holiday very nice

luis ortiz Permalink
October 30, 2013, 10:37

Saved as a favorite, I really like your website.
luis ortiz Thanks for share it.

Hero of Many Permalink
November 24, 2013, 14:15

I have picked up a lot of handy things out of this amazing blog. I’d love to come back over and over again.
Hero of Many Thanks!

September 05, 2012, 09:19

try curl -s instead of 2>/dev/null

September 07, 2012, 22:01

Simple design mod to cut down on the grid prison

http://nielsolson.us/dropbox/catonmat/gnu-coreutils-cheat-sheet.pdf
http://nielsolson.us/dropbox/catonmat/gnu-coreutils-cheat-sheet.xlsx

Edited in LibreOffice.

ANOwen Permalink
September 10, 2012, 18:29

I don't understand the purpose of all these cheat sheets.
Any Unix user should know how to use basic Unix commands
to get this kind of info ...

$ rpm -ql coreutils | egrep '\.gz' | xargs -L1 zfgrep -A1 'SH NAME' | sort -u

December 16, 2012, 18:03

nice sheet its helpful

September 16, 2013, 18:42

Merrick Smoked Moo Tube By:

July 10, 2013, 00:03

Thank you for this cheat sheets! I love it!

July 15, 2013, 09:48

I don't have words to describe my likeness for this blog. Amazing work indeed. Very well written. Keep up the good work.

July 15, 2013, 09:49

I really like your blog. You make it interesting to read and entertaining at the same time. I cant wait to read more from you.

July 20, 2013, 14:35

Wow….. What a great blog with such a good stuff. I really appreciate your hard work…

July 24, 2013, 17:42

hi there is very nice and good webpage posted keep it up and many thanks .

July 25, 2013, 08:31

I am really enjoying reading your well written articles. I think you spend numerous effort and time updating your blog. I have bookmarked it and I am taking a look ahead to reading new articles. Please keep up the good articles!

April 23, 2014, 21:19

Well nice to have all the commands in one place. Thanks admin for sharing with us.

Leave a new comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.

Advertisements