View previous topic :: View next topic |
Author |
Message |
pkrumins n00b
Joined: 31 Jan 2008 Posts: 5
|
Posted: Thu Jan 31, 2008 7:44 pm Post subject: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl) |
|
|
Hey! While learning various linux tools in the past, I made several cheat sheets to speed up 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:
* 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
ps. I have 5-10 more to publish, if you are interested, check back and possibly subscribe to my posts via rss _________________ P.Krumins ([URL="http://twitter.com"]@pkrumins[/URL] on Twitter)
Blogging at [URL="http://www.catonmat.net"]good coders code, great reuse[/URL]. 13,000 subscribers and counting!
Last edited by pkrumins on Thu Jan 31, 2008 7:51 pm; edited 1 time in total |
|
Back to top |
|
|
pkrumins n00b
Joined: 31 Jan 2008 Posts: 5
|
Posted: Thu Jan 31, 2008 7:44 pm Post subject: |
|
|
hmm, I am not sure why the links did not get converted to clickable <a href>'s... _________________ P.Krumins ([URL="http://twitter.com"]@pkrumins[/URL] on Twitter)
Blogging at [URL="http://www.catonmat.net"]good coders code, great reuse[/URL]. 13,000 subscribers and counting! |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Thu Jan 31, 2008 7:48 pm Post subject: Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl) |
|
|
pkrumins wrote: | Hey! While learning various linux tools in the past, I made several cheat sheets to speed up learning process. Recently I decided to put them on my blog.
Here is a link to all the cheat sheets on my blog:
[URL="http://www.catonmat.net/projects/cheat-sheets"]cheat sheets at catonmat (my blog)[/URL]
They include:
* 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
ps. I have 5-10 more to publish, if you are interested, check back and possibly subscribe to my posts via rss |
Removing the quotation marks fixes your links. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
pkrumins n00b
Joined: 31 Jan 2008 Posts: 5
|
Posted: Thu Jan 31, 2008 7:52 pm Post subject: Re: Linux Cheat Sheets (awk, ed, sed, bash, screen, perl) |
|
|
EzInKy wrote: | Removing the quotation marks fixes your links. |
Oh, great! I just fixed them all! Thanks! _________________ P.Krumins ([URL="http://twitter.com"]@pkrumins[/URL] on Twitter)
Blogging at [URL="http://www.catonmat.net"]good coders code, great reuse[/URL]. 13,000 subscribers and counting! |
|
Back to top |
|
|
Yggdrasill Tux's lil' helper
Joined: 12 Feb 2005 Posts: 103 Location: Belgique - Liège
|
Posted: Thu Jan 31, 2008 8:06 pm Post subject: |
|
|
Nice blog
Thanks for your cheats sheets ! _________________ MacBook 13,3" Core2Duo 2,0GHz
'- Mac Os X Leopard 10.5.1
'- Gentoo |
|
Back to top |
|
|
AaronPPC Guru
Joined: 29 May 2005 Posts: 522 Location: Tucson, AZ
|
Posted: Thu Jan 31, 2008 10:17 pm Post subject: |
|
|
Thanks! _________________ --Aaron |
|
Back to top |
|
|
nanafunk n00b
Joined: 29 Jun 2005 Posts: 36
|
Posted: Mon Feb 04, 2008 5:29 pm Post subject: |
|
|
First freenode, now gentoo forums, why don't you quit spamming the internet with your cheat-sheets which you have extracted from the manpages and fucking die. Thanks. |
|
Back to top |
|
|
nabla² Apprentice
Joined: 17 May 2005 Posts: 280
|
Posted: Wed Feb 06, 2008 8:51 pm Post subject: |
|
|
nanafunk wrote: | First freenode, now gentoo forums, why don't you quit spamming the internet with your cheat-sheets which you have extracted from the manpages and fucking die. Thanks. |
What's wrong with you? Your post is completely useless except for bumping a thread which is from your point of view useless. _________________ Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64) |
|
Back to top |
|
|
likewhoa l33t
Joined: 04 Oct 2006 Posts: 778 Location: Brooklyn, New York
|
Posted: Wed Feb 06, 2008 11:01 pm Post subject: |
|
|
nabla² wrote: | nanafunk wrote: | First freenode, now gentoo forums, why don't you quit spamming the internet with your cheat-sheets which you have extracted from the manpages and fucking die. Thanks. |
What's wrong with you? Your post is completely useless except for bumping a thread which is from your point of view useless. |
he's a noob obviously |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Thu Feb 07, 2008 2:58 pm Post subject: |
|
|
nanafunk wrote: | First freenode, now gentoo forums, why don't you quit spamming the internet with your cheat-sheets which you have extracted from the manpages and fucking die. Thanks. | Personal attacks are not permitted here. Banned. _________________ www.gentoo.org.au || #gentoo-au |
|
Back to top |
|
|
ryker Guru
Joined: 28 May 2003 Posts: 412 Location: Portage, IN
|
Posted: Thu Feb 07, 2008 5:26 pm Post subject: |
|
|
mark_alec FTW.
BTW, the cheat sheets and some of the other stuff on the website is pretty nice. Sure, much of it is from man and info pages, but it's in a nice concise format. _________________ Athlon 64 3200+, 80G WD sata hd + 200G IDE, 1G Geil DDR400, MSI K8T Neo
IntelCore2Duo 2.0Ghz MSI laptop,100G SATA hd, 2G RAM |
|
Back to top |
|
|
likewhoa l33t
Joined: 04 Oct 2006 Posts: 778 Location: Brooklyn, New York
|
Posted: Thu Feb 07, 2008 5:39 pm Post subject: |
|
|
ryker wrote: | mark_alec FTW.
BTW, the cheat sheets and some of the other stuff on the website is pretty nice. Sure, much of it is from man and info pages, but it's in a nice concise format. |
agreed, very well constructed cheat sheets. |
|
Back to top |
|
|
pkrumins n00b
Joined: 31 Jan 2008 Posts: 5
|
Posted: Tue Feb 19, 2008 3:28 pm Post subject: Definitive Guide to Bash Command Line History |
|
|
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:
_________________ P.Krumins ([URL="http://twitter.com"]@pkrumins[/URL] on Twitter)
Blogging at [URL="http://www.catonmat.net"]good coders code, great reuse[/URL]. 13,000 subscribers and counting! |
|
Back to top |
|
|
easy target Tux's lil' helper
Joined: 09 Jan 2008 Posts: 134
|
Posted: Tue Feb 19, 2008 4:11 pm Post subject: |
|
|
You can also use PageUp/PageDown to quickly search commands starting with typed text.
Example:
gives you history of files edited with vim
or
searches for files starting with 'man' and opened with xpdf.
Just be sure to set the following in /etc/inputrc (or ~/.inputrc):
Code: | "\e[5~": history-search-backward
"\e[6~": history-search-forward
|
|
|
Back to top |
|
|
pkrumins n00b
Joined: 31 Jan 2008 Posts: 5
|
Posted: Thu Dec 04, 2008 2:33 am Post subject: Set Operations in Unix Shell |
|
|
Hi all, again!
I just published another article which 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
I also created a .txt version of the article (cheat sheet):
What do you think about it? _________________ P.Krumins ([URL="http://twitter.com"]@pkrumins[/URL] on Twitter)
Blogging at [URL="http://www.catonmat.net"]good coders code, great reuse[/URL]. 13,000 subscribers and counting! |
|
Back to top |
|
|
furanku l33t
Joined: 08 May 2003 Posts: 905 Location: Hamburg, Germany
|
Posted: Fri Dec 12, 2008 11:41 pm Post subject: |
|
|
As much as I appreciate your efforts to collect tables and lists from help and man pages and info files, I'm not sure if you run into legal problems if you claim
Quote: |
© 2007 Peteris Krumins
|
as you do on some of your cheat sheets, esp. if you publish them without mentioning the original source, author or license. I'm not a lawyer and certainly won't imply any maliciousness from you, but I have stong doubts that this copyright remark is legally correct.
No offense meant, but IMHO you should investigate a bit about possible license issues.
Thanks anyway for your work. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|