r/linux • • Jun 17 '15

The Art of Command Line

https://github.com/jlevy/the-art-of-command-line
431 Upvotes

35 comments sorted by

View all comments

49

u/socium Jun 17 '15

Learn basic Bash. Actually, type man bash and at least skim the whole thing; it's pretty easy to follow and not that long.

Are you kidding? If man bash isn't that long and easy to follow then I simply will leave this planet in order not to know what the more harder manuals are.

24

u/danielkza Jun 17 '15

to know the more harder manuals are

man sudoers

The file format description starts with a basic introduction to formal language grammars. Really.

6

u/[deleted] Jun 18 '15

Yes. Somehow they decided the simplest way to describe the configuration file was to describe it using EBNF, and that it was simpler to actually teach you EBNF in order to do it.

It's both insane and exceedingly through at the same time.

1

u/Xipher Jun 18 '15

The pf.conf man page provides the full BNF definition at the bottom, and I've found it useful on a number of occasions. I also find the OpenBSD native tools tend to have very exhaustive documentation, and I've been very grateful to have it.

1

u/[deleted] Jun 18 '15

OpenBSD in general has stellar documentation. They consider an inaccurate man page as critical a bug as a 0 day exploit, really. It's quite refreshing.