Linux Command Line and Shell Scripting Bible and over one million other books are available for Amazon Kindle. Learn more

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $8.55 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading Linux Command Line and Shell Scripting Bible on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Linux Command Line and Shell Scripting Bible, Second Edition [Paperback]

Richard Blum , Christine Bresnahan
4.1 out of 5 stars  See all reviews (15 customer reviews)

Buy New
$35.70 & FREE Shipping. Details
$13.49 - $17.00
Only 14 left in stock (more on the way).
Ships from and sold by Gift-wrap available.
In Stock.
Want it tomorrow, July 15? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student


Amazon Price New from Used from
Kindle Edition $28.49  
Paperback $35.70  
Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

April 12, 2011 1118004426 978-1118004425 2
The authoritative guide to Linux command line and shell scripting?completely updated and revised [it's not a guide to Linux as a whole ? just to scripting]

The Linux command line allows you to type specific Linux commands directly to the system so that you can easily manipulate files and query system resources, thereby permitting you to automate commonly used functions and even schedule those programs to run automatically. This new edition is packed with new and revised content, reflecting the many changes to new Linux versions, including coverage of alternative shells to the default bash shell. For this edition, the author has teamed up with another Linux expert ? with their shared expertise, they take you beyond the basics of shell scripting and guide you through using shell scripting for higher-level applications that are commonly found in Linux environments. In addition, this edition features a host of real-world examples, so you can see how the scripts work in application.

  • Reflects changes to new Linux versions and covers alternate shells to the default bash shell
  • Offers new chapters on working with file system commands and software installation commands
  • Includes a plethora of real-world examples of advanced shell scripting
  • Shows how to use shell scripts in a graphical desktop environment

With Linux Command Line and Shell Scripting Bible you'll learn to manage file systems, install software, write scripts for graphical desktops, work with alternative shells, and more.

Frequently Bought Together

Linux Command Line and Shell Scripting Bible, Second Edition + Ubuntu Unleashed 2013 Edition: Covering 12.10 and 13.04 (8th Edition) + The Linux Command Line: A Complete Introduction
Price for all three: $90.64

Buy the selected items together

Customers Who Bought This Item Also Bought

Editorial Reviews

From the Back Cover

Here's all you need to master Linux commands and shells

Revised, updated, and even more jam-packed with helpful information, this new edition has what you need to master Linux command lines and shell scripts, whether you're a novice or a Linux pro. Even home users will discover a wealth of commands and time-savers that many Linux desktop distributions keep hidden. Best of all, this guide includes a greatly expanded array of real-world, applicable scripts for advanced users. You'll soon be able to automate practically any task on your Linux system.

  • Work from the command line and learn basic shell commands

  • Write shell scripts to automate routine functions and reports

  • Control how and when your shell scripts run on the system

  • Learn advanced methods of manipulating data in your scripts

  • Modify your scripts for graphical desktops and other Linux shells

  • Extract data from Web sites and send data between systems

  • Create professional-quality shell scripts for use in real-world environments

Use command lines and bypass the GUI

Automate common tasks

Create professional, real-world scripts

About the Author

Richard Blum has worked in the IT industry for more than 22 years as both a systems and network administrator. He has administered UNIX, Linux, Novell, and Microsoft servers, as well as automated network monitoring with Linux shell scripts and written scripts in most of the common Linux shell environments. Richard is the author of several books, including Professional Linux Programming (Wrox).

Christine Bresnahan has worked with computers for more than 25 years as an IT system administrator. She is an Adjunct Professor at Ivy Tech Community College in Indianapolis, Indiana, where she teaches Linux system administration, Linux security, and Windows security.

Product Details

  • Paperback: 840 pages
  • Publisher: Wiley; 2 edition (April 12, 2011)
  • Language: English
  • ISBN-10: 1118004426
  • ISBN-13: 978-1118004425
  • Product Dimensions: 9.2 x 7.4 x 1.7 inches
  • Shipping Weight: 2.7 pounds (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (15 customer reviews)
  • Amazon Best Sellers Rank: #386,345 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
9 of 9 people found the following review helpful
4.0 out of 5 stars Will get you started. July 27, 2012
Format:Paperback|Verified Purchase
Overall this book will give you a nice grasp of the CLI and how things work. It helped me a ton and i still reference it from time to time.

If you are getting this book solely for shell scripting, a few topics are either not mentioned or touched on lightly. A example is math, for floating point math they use `bc`, a external command that may not be installed by default. which is a nice tool and will get the job done, but they show you a few good examples of how to use it then briefly talk about the (( )) internal command(later on in the book) which can do the same thing with less effort. Some other topics you won't see is parameter expansion, why [[ should be used over [ (test) in most cases, command grouping, subshell execution & process substitution. Finding information on any of those aren't hard, just not in the book. That plus the typos, some of which may prevent the command from executing correctly, prevents me from giving five stars.

I would and have recommended the book to others.
Comment | 
Was this review helpful to you?
12 of 14 people found the following review helpful
2.0 out of 5 stars An OK book. October 13, 2012
By Jay
Format:Paperback|Verified Purchase
I am taking some Linux classes in school. I purchased this because I struggle a lot with Bash scripting and I wanted to supplement my text books with a book that focused on scripting.

The book itself is easy enough to follow and has does a good job of explaining the various commands. Where it falls short though are the amount of sample scripts. As I said above I struggle with scripting. I have no issues at all getting around in the terminal but I don't think my brain is wired correctly to ever be proficient in writing scripts. I wish it gave more than one example for the sample scripts. The way I learn is by seeing various scripts and seeing how they perform, but when the book only gives one example of how to use a variable I believe it falls short of my needs. I wish there would be three or for different examples.

If you are a fast learner and have a natural talent for scripting then this may be the right book for you. If you are like me and need to be shown several different examples of how to use different commands and options then this will not meet your needs.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
3.0 out of 5 stars Not bad October 12, 2012
By tux2112
Format:Kindle Edition|Verified Purchase
Does a decent job in explaining syntax and flow but leaves out full detail that is needed for a full understanding. The title is not justified. Bible infers a complete refference where as this is like the old testament, good information and interesting but not the full story.
Comment | 
Was this review helpful to you?
0 of 1 people found the following review helpful
2.0 out of 5 stars Needs Additional Subject Matter May 1, 2014
Format:Paperback|Verified Purchase
I would have liked to have seen chapter questions, exams, and labs. Without these, it's hard to gauge one's knowledge of the subject matter.
Comment | 
Was this review helpful to you?
0 of 1 people found the following review helpful
5.0 out of 5 stars A great book for learning shell scripting March 25, 2013
Format:Paperback|Verified Purchase
If you are new to Linux and want to understand its power at the command shell, this book is for you. The first few chapters cover things like the various distros, the desktop, and using the editors before delving into the BASH shell. It starts with issuing simple commands like "echo hello world" and how to write a script in the editor with some commands. Each subsequent chapter brings more involved subjects such as shell variables, command piping, do/for loops, if/then/else/case, etc. There are plenty of examples in every chapter. This book is what I turn to if I have a question about how to do something in a script.
Comment | 
Was this review helpful to you?
0 of 1 people found the following review helpful
3.0 out of 5 stars command line linux made easy March 25, 2013
By Michael
Format:Paperback|Verified Purchase
i was originally looking for an aid for command line executions inside of back track 5 r3. Still a great book to have but not what i set out for
Comment | 
Was this review helpful to you?
0 of 1 people found the following review helpful
4.0 out of 5 stars Product as described February 27, 2013
By Timothy
Format:Paperback|Verified Purchase
Excellent packaging and product. Easy read and to follow. Broken down to informative chapter headings which as previously described are easy to follow - would recommend to other's learning Linux shell and scripting.
Comment | 
Was this review helpful to you?
0 of 1 people found the following review helpful
5.0 out of 5 stars An excellent book to learn linux shell scripting from September 14, 2012
Format:Paperback|Verified Purchase
This is a very comprehensive book at over 800 pages. It is as easy as to follow as this type of a book can be. It is detailed and accurate. For the most part all topics are covered before they are used: only a couple of exceptions were noted and they were minor with one being covered in the next section.

The information is presented clearly with ample examples and explanations. The book is functional and practical. It also teaches a lot of commands that you probably were not aware of. With that knowledge the man pages become that much more useful.

If you want to administer a LAMP server or a 'NIX network, a lot of what you need to know is with respect to being able to do it from the command line or using scripts is in this book. I personally would never use scripts to partition drives but for doing cron jobs, checking file permissions, getting hardware info, checking and setting environmental variables, etc., this book covers the basics of how to get desired result.

I find that it is necessary to use the command line sometimes and the GUI at other times and sometimes both to get the results needed. For instance when moving the default data directory for a MySQL install to a separate drive, the easy button is to copy over the defaults directories to the new drive. Have done several installs like this with varying distros and regardless of what flags I set, or whether using a drag and drop or the command line, the permissions always get changed in the sub directories. Theory this and that, haven't found a way to make it happen in the real world.
Read more ›
Comment | 
Was this review helpful to you?

What Other Items Do Customers Buy After Viewing This Item?


Have something you'd like to share about this product?
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for Similar Items by Category

Want to discover more products? You may find many from cheap linux computer shopping list.