Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required. Learn more
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
A Practical Guide to Linux Commands, Editors, and Shell Programming 3rd Edition
| Price | New from | Used from |
There is a newer edition of this item:
“First Sobell taught people how to use Linux . . . now he teaches you the power of Linux. A must-have book for anyone who wants to take Linux to the next level.”
–Jon “maddog” Hall, Executive Director, Linux International
New Chapters on Python and MySQL–Covers Perl, too!
- Learn from hundreds of realistic, high-quality examples, and become a true Linux command-line guru!
- NEW! Covers busybox, Midnight Commander, screen, and sshfs/curlftpf
- Covers the Mac OS X command line and its unique tools
- 295-page reference covers 98 utilities, including Mac OS X commands!
For use with all popular versions of Linux, including Ubuntu™, Fedora™, openSUSE™, Red Hat®, Debian, Mageia, Mint, Arch, CentOS, and Mac OS X, too!
The Most Useful Tutorial and Reference, with Hundreds of High-Quality Examples for Every Popular Linux Distribution
Linux is today’s dominant Internet server platform. System administrators and Web developers need deep Linux fluency, including expert knowledge of shells and the command line. This is the only guide with everything you need to achieve that level of Linux mastery. Renowned Linux expert Mark Sobell has brought together comprehensive, insightful guidance on the tools sysadmins, developers, and power users need most, and has created an outstanding day-to-day reference.
This title is 100 percent distribution and release agnostic. Packed with hundreds of high-quality, realistic examples, it presents Linux from the ground up: the clearest explanations and most useful information about everything from filesystems to shells, editors to utilities, and programming tools to regular expressions.
Use a Mac? You’ll find coverage of the Mac OS X command line, including OS X-only tools and utilities other Linux/UNIX titles ignore. Sobell presents a new MySQL chapter. There’s even an expert introduction to Python–today’s most valuable tool for automating complex, time-consuming administration tasks.
A Practical Guide to Linux® Commands, Editors, and Shell Programming, Third Edition, is the only guide to deliver
- A MySQL chapter to get you started with this ubiquitous relational database management system (RDBMS)
- A masterful introduction to Python for system administrators and power users
- New coverage of the busybox single binary collection of utilities, the screen terminal session manager/multiplexer, and the mc (Midnight Commander) textual file manager, plus a new chapter on using ssh for secure communication
- In-depth coverage of the bash and tcsh shells, including a complete discussion of environment, inheritance, and process locality, plus coverage of basic and advanced shell programming
- Practical explanations of 98 core utilities, from aspell to xargs, including printf and sshfs/curlftpfs, PLUS Mac OS X-specific utilities from ditto to SetFile
- Expert guidance on automating remote backups using rsync
- Dozens of system security tips, including step-by-step walkthroughs of implementing secure communications using ssh and scp
- Tips and tricks for customizing the shell, including step values, sequence expressions, the eval builtin, and implicit command-line continuation
- High-productivity editing techniques using vim and emacs
- A comprehensive, 295-page command reference section covering 98 utilities, including find, grep, sort, and tar
- Instructions for updating systems using apt-get and yum
- And much more, including coverage of BitTorrent, gawk, sed, find, sort, bzip2, and regular expressions
- ISBN-10013308504X
- ISBN-13978-0133085044
- Edition3rd
- PublisherPearson P T R
- Publication dateSeptember 24, 2012
- LanguageEnglish
- Dimensions7.75 x 1.5 x 6.75 inches
- Print length1200 pages
What do customers buy after viewing this item?
- Lowest Pricein this set of products
Practical Guide to Linux Commands, Editors, and Shell Programming, AMark SobellPaperback - Most purchased | Highest ratedin this set of products
Advanced Programming in the UNIX Environment, 3rd EditionW. StevensPaperback
Editorial Reviews
Review
About the Author
Mark G. Sobell is President of Sobell Associates Inc., a consulting firm that specializes in UNIX/Linux training, support, and custom software development. He has more than thirty years of experience working with UNIX and Linux systems and is the author of many best-selling books, including A Practical Guide to Fedora™ and Red Hat® Enterprise Linux®, Sixth Edition, and A Practical Guide to Ubuntu Linux®, Third Edition, both from Prentice Hall.
Product details
- Publisher : Pearson P T R; 3rd edition (September 24, 2012)
- Language : English
- Paperback : 1200 pages
- ISBN-10 : 013308504X
- ISBN-13 : 978-0133085044
- Item Weight : 3.33 pounds
- Dimensions : 7.75 x 1.5 x 6.75 inches
- Best Sellers Rank: #1,101,636 in Books (See Top 100 in Books)
- #78 in Linux Programming
- #140 in Unix Operating System
- #212 in Computer Operating Systems (Books)
- Customer Reviews:
About the author

Mark G. Sobell is President of Sobell Associates Inc., a consulting firm that specializes in UNIX/Linux training, support, and custom software development. He has more than thirty years of experience working with UNIX and Linux systems and is the author of many best-selling books, including A Practical Guide to Fedora™ and Red Hat® Enterprise Linux®, Sixth Edition, and A Practical Guide to Ubuntu Linux®, Third Edition, both from Prentice Hall.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
The good:
This is a very large reference manual, with lots of information in it on a wide variety of subjects. The fact that there is an entire chapter on MySQL is a big plus, as anyone who deals with software professionally NEEDS to know about databases. The more, the better. The indices in the book are some of the best I've seen. Redundancies are not always a bad thing!
The bad:
Probably just a personal gripe, but the author doesn't use strict/warnings in his Perl code. It doesn't seem to be a "Perl for people who already know Perl" chapter. Any intro to Perl should use strict/warnings. Perl lets you do all kinds of crazy things, which is both its greatest strength and its greatest weakness. Using strict/warnings in ALL of your Perl helps you learn to write better code. When you KNOW how to write code and know when to add "no strict" to a subroutine (or just leave it out entirely) to work some Perl magic, then you can take advantage of the added freedoms. Nearly all of the scripts in this chapter need to be partially or completely rewritten if you use strict, but I suppose that's just another way of learning Perl.
The slightly ugly:
Keep in mind that this is a reference book, not Lord of the freakin Rings (unless you spend way too much time with computers, I suppose). There are multiple instances on just about every page of "refer to xyz on page 1###" when you're only on page 3##. There's a lot of flipping around to various sections of the book, like one of those old "Choose your own story" books. Granted, it's tough to pull off a book this thick and dense without doing that, but there was just a LOT of it, and it gets a bit old after a while.
The short version:
It's a very dense reference manual that needs the company of a few "lighter" books to fill in some gaps and provide some more in-depth info on the more interesting (for you) sections.
This is a great practicel, no-nonsense introduction to Linux for those who are at the command line and want to know what to do next. How do you navigate the file system? What do those weird files like 'bin' and 'dev' and 'boot' mean? How can you change your command line to look cool? How do you write scripts to carry out commands in the command line? What is a pipeline? How the heck does this vi editor work? What is it to 'grep' a file? And on and on. All with practical examples to help you get started fast.
The only reason I give it four, rather than five, stars is because the coverage is a bit shotgun, rather than systematic. On page 45 he will mention something that you won't learn about until page 223. I would rather have a more linear, methodical introduction. However, I think that might well be impossible in a book of this scope. You have to have some nonlinearities in the structure, I just think this has a few too many.
I got this book for a class, but it's overall, though, pretty good, and I wouldn't not recommend it. Just wish they paced it better.
However, extra points because the Kindle version has full audio reader.
My skills with the Linux console have already increased significantly. I'm new to Linux but have a few years of programming experience in general.
I recommend this book to anyone looking to improve his or her command line skills and productivity
NOTE: I have both the hardcopy and ecopy. The hardcopy is great, but DO NOT purchase the Kindle version. Certain text in the Kindle version is too small and illegible. Unless there's something i don't know about the Kindle app, I wasn't able to zoom/expand the text to view these certain text, for better viewing. If you need/want an ecopy of this book, there are sources online where you can purchase a .pdf or .epub version; I have - and the text is legible and clear in those versions.
This book is unlikely to find a wide audience, but for those who have need for a very good reference to this subject, this work merits your serious consideration. I consider this book to be a worthwhile addition to my Mac OS X library, and I am glad I have it. Very well written and organized, more suitable as a permanent bookshelf reference than as a "read it from cover to cover" volume ...
Top reviews from other countries
Densely packed and well-written, this book has helped me build a base of language/app-specific knowledge for python, perl, bash, and vim. Also a valued quick reference for Linux.
Stackoverflow is still my first-stop when I'm asking "how do I do X, using Y". But when I'm starting out with a new language (or anything listed on the front cover) I'll turn to this book to give me a crash course.
Not just for newbies either; aPGtLCEaSP has many nuggets for the journeyman programmer.
Extensive chapters on shell scripting using Bash. Chapters on using VIM and Emacs are good.
It covers Sed and Awk and system maintenance.
I used it to learn GNU/Linux Debian and now it became my main operating system that I use on daily basis.


