对于高级用户来说,什么是好的 Linux/Unix 书籍?

对于一个相对较新但并非全新的 * nix 用户来说,有没有什么好书可以让他们获得更深入的知识(所以没有“傻瓜用的 Linux”) ?在大多数情况下,我不是在寻找从头到尾可以阅读的东西。相反,当我需要知道如何做某事或者当我有一个“我怎么再做一次?”的问题时,我宁愿有一些我可以拿起来读的东西瞬间。我希望看到的一些领域是:

  • 命令行管理命令行管理
  • Bash 脚本
  • 编程(尽管我想要一些不仅仅与 C 程序员相关的东西)

我希望它尽可能独立于平台(这意味着它包含与任何 linux 发行版以及 BSD、 Solaris、 OS X 等相关的信息) ,但我使用最多的 Unix 系统是 OS X 和 Debian/Ubuntu。因此,如果我想从拥有一本更加依赖平台的书籍中获益最多,那么这些就是我的目标平台。

如果我可以在一本书中得到所有这些,很好,但我宁愿有一点更深入的材料比 一切的覆盖面。因此,如果有任何书只涉及这些领域中的一个,张贴它。见鬼,即使它不相关的任何一个领域,你认为它的东西,一个人在我的立场应该知道。

46928 次浏览

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.

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.

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.

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

alt text

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:

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!

I can suggest the bunch of books here:

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

good luck;)

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.

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:

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.

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.

With regards to Ubuntu and Linux in general, a good book:

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'.

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

  • 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