How to change brightness on Linux desktop through the command line?

Linux CLI Filter: Complete Linux Command Line Book?

  • Is there a book (or a way to have one made) that would list all available Linux commands with options and what they mean for any shell I'm interested in learning? (Currently bash) I know about man pages, which are great, but I'd really like something in hard copy form that I can take anywhere so I can brush up on CLI commands when I have a few spare minutes. I'm guessing the commands are different for each shell, so that's a factor here as well, I think. I only have desktop machines, but even if I had a portable, I'd prefer a book so I could, for instance, take it with me in either of my one and a half "reading" rooms where there are some "water hazards." Perhaps smoosh all the output from the man pages into a single, formatted doc and have that printed at a print-on-demand joint online? I had a pretty exhaustive reference that worked well for me when I was getting to know MS-DOS ages ago, so I'm wondering if there is something similar for Linux. I have two Linux CLI books that I already use, but they only cover the basic commands. And I know the GUIs are nice, but I'd prefer to learn the CLI. Many thanks in advance!

  • Answer:

InsertNiftyNameHere at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

Commands only differ by shell when it comes to http://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.html (and scripting of course). Everything else we call a "command" is just a program installed on the computer, which varies extremely widely by OS, distribution and machine, but not really by shell. Obviously there are commands that exist on the vast majority of Linux machines, and I'm sure that's what you're asking for (in which I think the Nutshell book is probably pretty good), but keep in mind there's no true "complete" list of commands.

primethyme

Not sure how complete it needs to be for you, but http://shop.oreilly.com/product/9780596154493.do is plenty detailed for me.

lukemeister

http://rute.2038bug.com/index.html.gz is a bit old, but I remember it being... thorough.

Wrinkled Stumpskin

Most available linux commands are non-shell executables (e.g. grep, awk, sed, etc.). These can be reviewed in any decent Linux book, but will switch focus based on what you want to do (developer/user, network admin, web server admin, etc.). If you want to get more in depth on bash-only builtins and how the shell works try the http://www.tldp.org/LDP/Bash-Beginners-Guide/Bash-Beginners-Guide.pdf (pdf). I'd say this is much more valuable in the long term than knowing every flag for grep.

benzenedream

Yuck, that double spacing is nasty. Sorry.

InsertNiftyNameHere

For what it is worth, every shell has built in commands, but I find that much of what I do at the command line involves separate programs. How many shells do you actually care about? Maybe for a start, print out the man pages for the shells you are most interested in. This would be an opportunity to learn about unix text formatting conventions. Man pages are typically distributed in some sort of marked up version that then gets formatted for screen or other output. You will have to go elsewhere to find a list of useful command line utilities, but you could write a little shell script to go through that list and make PDFs of those for printing too. Also, if you don't know it already: "man -k" does a keyword search of man pages which can be useful for finding commands to help with given task.

Good Brain

One more thing, from a shell 'echo $PATH' will give you a list of the directories search when you try and execute a command from the command line. If you ls each of those directories you will get a pretty comprehensive list of every command on your system, most of which will have man pages.

Good Brain

Linux in a Nutshell is good enough. There used to be a book of every single man page of every command that a Linux distro might conceivably have. It was impractically large, and I haven't seen a copy for sale in 15 years, so would be almost uselessly out of date.

scruss

I know you are looking for something in dead tree format, but keep in mind info is usually more extensive than the man pages. On my system info bash brings up The GNU Bash Reference Manual, if you absolutely must have a book the good people in the GNU project will probably be able to sell or otherwise provide a nicely formatted print edition.

Dr Dracator

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.