Slashdot Mirror


Unix Command 'Cheat Sheets'?

WCLPeter asks: "One of the things that I like about Linux is that once it's set up properly it tends to stay that way. I have had experience using Linux as I've set up a firewall for my xDSL line, but that was a while ago. Like all things, if you don't use it often, you forget how to use it. Which is what has happened to me. As I prepare to install a Slackware 8.0 ISO so I can play some Loki games I bought I wondered: Is there a Unix cheat-sheet?" If you were going to create such a cheatsheat, what commands would you have in it? Of course, you can't get all of the Unix commands on a single sheet of paper, but probably enough of them to at least get a new user confortable with navigation and file operations.

"I'm sure you all know the type. When you buy a book on a program/OS/Programming Language, it usually contains a page that lists all the functions or commands followed by a simple 1-2 line description of that command.

Something along the lines of:
ls: Used to display a directory listing.
gcc: GNU C Compiler. Used to compile 'C' files into program code.
etc... - The list continues in this fashion.

I know I could read the various FAQ's. Most FAQ's unfortunately follow the 'FAQ A leads to FAQ B which leads to FAQ C which leads back to FAQ A' format. It would be so much easier for newer users to graze down a list of 50-100+ commands, find one that -looks- sort of like what I want to do and type
'man <command>' for usage information."

2 of 77 comments (clear)

  1. Re:sed and awk by oneiros27 · · Score: 3, Interesting
    There's an ORA book just on those two commands.
    http://www.oreilly.com/catalog/sed2/
    and the matching pocket reference
    http://www.oreilly.com/catalog/sedawkrepr/
    Also of relevance, the Effective AWK Programming book:
    http://www.oreilly.com/catalog/awkprog3/
    and the regular expressions book:
    http://www.oreilly.com/catalog/regex/
    --
    Build it, and they will come^Hplain.
  2. a few useful resources by oneiros27 · · Score: 3, Interesting

    The problem is, there are so many commands, it's hard to fit that much information into a small space. So, for quick reference, I normally turn to 'man -k' [which is the same as 'apropos'].
    Failing that, a quick search through google or google groups.

    Some people prefer printed materials, however, and I know that one of the folks here always seems to go for one book which just has the quick usage of most shell commands [but well, she doesn't get in for a few hours, and it wasn't obvious in her stacks of books] She also had the Linux Command Reference, published by the Linux Journal, which is slightly bigger than the ORA pocket books, but still very portable.

    Once of the books that I started out with was the UNIX System Administration Handbook, which I've heard includes linux in the latest version. It's not cheap, it's not small, but it nicely organizes things by topic, and points out possible pitfalls.

    --
    Build it, and they will come^Hplain.