You are not logged in.

#1 2008-01-31 20:24:59

pkrumins
Member
From: Riga, Latvia
Registered: 2008-01-31
Posts: 3
Website

Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

Hey! While learning various linux tools in the past, I made several cheat sheets to speed up the learning process. Recently I decided to put them on my blog.

Here is a link to all the cheat sheets on my blog:
cheat sheets at catonmat (my blog)

They include (some of the links include tutorials, as well):
* awk (awk, nawk and gawk) programming language cheat sheet,
* sed, unix stream editor, cheat sheet,
* ed, interactive unix text editor, cheat sheet,
* perl's special variable cheat sheet,
* perl's pack/unpack and printf/sprintf function cheat sheet,
* screen vt100 terminal emulator cheat sheet,
* bash vi editing mode (readline) cheat sheet, and
* bash emacs editing mode cheat sheet.


Tell me what you think and I hope you find them useful! smile

ps. I have 5-10 more to publish, if you are interested, check back and possibly subscribe to my posts via rss feed smile

Last edited by pkrumins (2008-02-19 15:41:00)


P.Krumins
I love mathematics, physics and computer science!
good coders code, great reuse

Offline

#2 2008-01-31 23:55:19

Borosai
Member
From: Sandy Appendix, U.S.A.
Registered: 2006-06-15
Posts: 227

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

Thanks for posting these. I'm sure I will use a few of them very soon.

Offline

#3 2008-02-07 00:14:11

ice_nine
Member
Registered: 2007-12-13
Posts: 9

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

Very nice!

Offline

#4 2008-02-08 02:05:41

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

a compilation of all these is very helpful indeed.


I need real, proper pen and paper for this.

Offline

#5 2008-02-08 03:27:32

Zer0
Member
From: Windsor, ON, Canada
Registered: 2006-08-25
Posts: 299

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

Theres a nice Cheat sheet for common commands at FOSSwire.com

Linux Command Cheat Sheet.  Found it a while back on lifehacker, it's pretty basic but perfect for newer users.

Offline

#6 2008-02-08 03:44:39

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

Thanks a lot to share your work pkrumins, this is very useful in many cases. I even think this should deserve to inaugurate a brand new cheat sheets wiki article !

Offline

#7 2008-02-10 14:05:02

Pick2
Member
From: Illinois
Registered: 2006-05-16
Posts: 55

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

I found these Quick Reference Cards to be extremely helpful !

http://www.digilife.be/quickreferences/quickrefs.htm

Last edited by Pick2 (2008-02-10 14:05:29)


Just Folded Space From Arrakis

Offline

#8 2008-02-18 19:21:19

Majkhii
Member
Registered: 2007-07-29
Posts: 53

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

Wow very useful! thx!


Proud to be ArchLinux64 user.

configs: http://github.com/Mihairu/config-files/tree/master
current desktop: here

Offline

#9 2008-02-18 19:42:55

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

This is great! Thanks a lot! big_smile


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#10 2008-02-19 15:39:27

pkrumins
Member
From: Riga, Latvia
Registered: 2008-01-31
Posts: 3
Website

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

Hi all! I just wrote a another article with a cheat sheet. It's called "The Definitive Guide to Bash Command Line History". This tutorial teaches you how to quickly retrieve and modify commands you executed previously.

It starts by reviewing the keyboard shortcuts for history retrieval in emacs and vi editing modes, then it covers the commands for listing and erasing the history, then it goes into discussing history expansion mechanism - event designators, word designators and their modifiers. Finally the guide lists variables and options to modify the default history behavior.

The cheat sheet comes in PDF, Plain Text ASCII and LaTeX:
* PDF format (.pdf): bash history cheat sheet (.pdf)
* ASCII .txt format: bash history cheat sheet (.txt)
* LaTeX format (.tex): bash history cheat sheet (latex .tex)

Last edited by pkrumins (2008-02-19 15:40:31)


P.Krumins
I love mathematics, physics and computer science!
good coders code, great reuse

Offline

#11 2008-02-19 16:06:12

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

Cool 8)


Mr Green

Offline

#12 2008-12-04 02:44:09

pkrumins
Member
From: Riga, Latvia
Registered: 2008-01-31
Posts: 3
Website

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

Hi all, again! smile

I just published another article that comes with a cheat sheet.
In this article I implemented various set operations by using awk, comm, sort, uniq, diff, join, head, tail, and other Unix utilities.

The article explains 14 various set operations:
* Set Membership.
* Set Equality.
* Set Cardinality.
* Subset Test.
* Set Union.
* Set Intersection.
* Set Complement.
* Set Symmetric Difference.
* Power Set.
* Set Cartesian Product.
* Disjoint Set Test.
* Empty Set Test.
* Minimum.
* Maximum.

The article can be read here: Set Operations in Unix Shell

And the cheat sheets can be downloaded here:
* ASCII .txt format: setops.txt
* PDF format (.pdf): setops.pdf

What do you think about it?


P.Krumins
I love mathematics, physics and computer science!
good coders code, great reuse

Offline

#13 2008-12-04 09:32:11

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

Distributing cheatsheets as downloadable files (or online versions) is soo 2006.

Take a look at this :  http://errtheblog.com/posts/21-cheat and http://cheat.errtheblog.com/

I think it's the most useful way to use cheat sheets (you can type things like "cheat sed" in your shell).
I recommend you try to integrate your sheets there.  It's an easier way to use them and you'll reach a broader audience.

Last edited by Dieter@be (2008-12-04 09:33:48)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#14 2008-12-04 09:49:17

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Offline

#15 2008-12-04 14:18:00

xen
Member
Registered: 2008-08-17
Posts: 56

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)


A wannabe game-developer.
My Blog
My GitHub

Offline

#16 2008-12-04 20:54:25

jb
Member
From: Florida
Registered: 2006-06-22
Posts: 466

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

What a bunch of cheaters we've got here!


...

Offline

#17 2008-12-04 22:45:06

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

I put together a short reference for the text editor Sam a while back.

http://pastebin.com/f74c0d23e

Offline

#18 2008-12-06 20:16:21

dsr
Member
Registered: 2008-05-31
Posts: 187

Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

Nice work, thanks! I don't use perl, but checkout `man perlcheat' for a very concise cheat sheet that does the job.

Offline

Board footer

Powered by FluxBB