What are good Linux/Unix books for an advancing user?

LinuxUnixCommand Line

Linux Problem Overview


Are there any good books for a relatively new but not totally new *nix user to get a bit more in depth knowledge (so no "Linux for dummies")? For the most part, I'm not looking for something to read through from start to finish. Rather, I'd rather have something that I can pick up and read in chunks when I need to know how to do something or whenever I have one of those "how do I do that again?" moments. Some areas that I'd like to see are:

  • command line administration
  • bash scripting
  • programming (although I'd like something that isn't just relevant for C programmers)

I'd like this to be as platform-independent as possible (meaning it has info that's relevant for any linux distro as well as BSD, Solaris, OS X, etc), but the unix systems that I use the most are OS X and Debian/Ubuntu. So if I would benefit the most from having a more platform-dependent book, those are the platforms to target.

If I can get all this in one book, great, but I'd rather have a bit more in-depth material than coverage of everything. So if there are any books that cover just one of these areas, post it. Hell, post it even if it's not relevant to any of those areas and you think it's something that a person in my position should know about.

Linux Solutions


Solution 1 - Linux

I've wiki'd this post - could those with sufficient rep add in items to it.

System administration, general usage books

Programming:

Specific tools (e.g. Sendmail)

Various of the books from O'Reilly and other publishers cover specific topics. Some of the key ones are:

Some of these books have been in print for quite a while and are still relevant. Consequently they are also often available secondhand at much less than list price. Amazon marketplace is a good place to look for such items. It's quite a good way to do a shotgun approach to topics like this for not much money.

As an example, in New Zealand technical books are usurously expensive due to a weak kiwi peso (as the $NZ is affectionately known in expat circles) and a tortuously long supply chain. You could spend 20% of a week's after-tax pay for a starting graduate on a single book. When I was living there just out of university I used this type of market a lot, often buying books for 1/4 of their list price - including the cost of shipping to New Zealand. If you're not living in a location with tier-1 incomes I recommend this.

E-Books and on-line resources (thanks to israkir for reminding me):

  • The Linux Documentation project (www.tldp.org), has many specific topic guides known as HowTos that also often concern third party OSS tools and will be relevant to other Unix variants. It also has a series of FAQ's and guides.

  • Unix Guru's Universe is a collection of unix resources with a somewhat more old-school flavour.

  • Google. There are many, many unix and linux resources on the web. Search strings like unix commands or learn unix will turn up any amount of online resources.

  • Safari. This is a subscription service, but you can search the texts of quite a large number of books. I can recommend this as I've used it. They also do site licences for corporate customers.

Some of the philosophy of Unix:

Solution 2 - Linux

I have found Unix Power Tools to be one of the best resources for me. It may not have a tutorial in it, but it is a great reference.

Solution 3 - Linux

The Art of Unix programming is a book that I've found helpful in the past, in spite of being a bit slanted against other non-unix platforms.

Solution 4 - Linux

The O'Reilly books have excellent *nix coverage. I have these:

Learning the bash Shell

  • Covers several basic *nix command line tools as well as more advanced shell scripting techniques.

Learning the vi and Vim Editors

  • Priceless. Gave me the ability to very quickly edit or create shell scripts, configuration files, Python scripts from the shell.

Solution 5 - Linux

I recommend the Armadillo book from O'Reilly for command line administration and shell scripting.

alt text

Solution 6 - Linux

Jason,

Unix Programming Environment by Kernighan and Pike will give you solid foundations on all things Unix and should cover most of your questions regarding shell command line scripting etc.

The Armadillo book by O'Reilly will add the administration angle. It has served me well!

Good luck!

Solution 7 - Linux

I can suggest the bunch of books here:

http://www.linux.org/docs/online_books.html

good luck;)

Solution 8 - Linux

The aforementioned Unix Power Tools is a must. Other classics are sed&awk and Mastering Regular Expressions. I also like some books from the O'Reilly "Cookbook" series:

Solution 9 - Linux

The Advanced Bash-Scripting Guide is the only book that really allows the reader to grok bash scripting. You need that ability to fully understand how to start/stop daemons and to automate a lot of tasks.

Solution 10 - Linux

alt text

In my opinion, you will learn more just by messing around with what you find interesting on a *nix box. It is a waste of time to read about BIND if you have no interest in networks.

Solution 11 - Linux

http://www.amazon.com/AWK-Programming-Language-Alfred-Aho/dp/020107981X/">The AWK Programming Language

Not only introduces to the versatile tool that awk is, but also gives an insight about the Unix based philosophy and some awk 'design-patterns'.

Solution 12 - Linux

Big agreement for Essential System Adminstration and Unix Power Tools.

Also, whichever editor you prefer, vim or emacs, learn it back & forth. If you like vim, then get Steve Oualline's vim book.

Solution 13 - Linux

Solution 14 - Linux

Stephen Kochan's "Unix Shell Programming" and "Exploring the Unix System"

Solution 15 - Linux

  • sed & awk Dougherty and robbins
  • Mastering regular expression Jeffrey Friedl
  • Linux in a nutshell to look things up, although most of the info is also in manpages
  • Vim by Steve Oualline

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJason BakerView Question on Stackoverflow
Solution 1 - LinuxConcernedOfTunbridgeWellsView Answer on Stackoverflow
Solution 2 - LinuxHortitudeView Answer on Stackoverflow
Solution 3 - LinuxJason BakerView Answer on Stackoverflow
Solution 4 - LinuxpostfuturistView Answer on Stackoverflow
Solution 5 - LinuxBill the LizardView Answer on Stackoverflow
Solution 6 - Linuxuser27037View Answer on Stackoverflow
Solution 7 - LinuxisrakirView Answer on Stackoverflow
Solution 8 - LinuxFederico A. RamponiView Answer on Stackoverflow
Solution 9 - LinuxGianluca Della VedovaView Answer on Stackoverflow
Solution 10 - Linuxtheman_on_vistaView Answer on Stackoverflow
Solution 11 - Linuxx-wayView Answer on Stackoverflow
Solution 12 - LinuxAndy LesterView Answer on Stackoverflow
Solution 13 - LinuxAaronView Answer on Stackoverflow
Solution 14 - Linuxmpez0View Answer on Stackoverflow
Solution 15 - LinuxNaviView Answer on Stackoverflow