Amazon.com: Customer reviews: Shell Scripting: How to Automate Command Line Tasks Using Bash Scripting and Shell Programming
Skip to main content
.us
Hello Select your address
All
EN
Hello, sign in
Account & Lists
Returns & Orders
Cart
All
Disability Customer Support Clinic Essentials Customer Service Best Sellers Amazon Basics Prime Music New Releases Today's Deals Books Registry Fashion Amazon Home Pharmacy Gift Cards Toys & Games Sell One Medical Coupons Luxury Stores Find a Gift Automotive Beauty & Personal Care Computers Home Improvement Health & Household Products Video Games Pet Supplies Smart Home Audible
3 days until Prime Day

  • Shell Scripting: How to Automate Command Line Tasks Using Bash...
  • ›
  • Customer reviews

Customer reviews

4.6 out of 5 stars
4.6 out of 5
1,259 global ratings
5 star
72%
4 star
17%
3 star
7%
2 star
1%
1 star
2%
Shell Scripting: How to Automate Command Line Tasks Using Bash Scripting and Shell Programming

Shell Scripting: How to Automate Command Line Tasks Using Bash Scripting and Shell Programming

byJaosn Cannon
Write a review
How customer reviews and ratings work

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
See All Buying Options

Top positive review

All positive reviews›
Jake
5.0 out of 5 starsGreat book and quick read for a newbie
Reviewed in the United States ๐Ÿ‡บ๐Ÿ‡ธ on June 24, 2023
Iโ€™ve been using linux for a few years now, I am far from an expert, but I k it how to google my way through an issue. I donโ€™t like reading, and I always struggle to push myself to get through programming books. I got through this one in a weekend and it gave me enough knowledge to start creating scripts that have saved me enough time at work to start creating more scripts at work. Highly recommend it for guys like me.
Read more

Top critical review

All critical reviews›
Grayson Kent
3.0 out of 5 starsGood for Beginners. Not much else
Reviewed in the United States ๐Ÿ‡บ๐Ÿ‡ธ on July 29, 2017
Let me start by saying this is a good book for shell beginners to start with, and I want to really give it 3.5 stars, but it is hard to like.

I powered through it because people kept saying they learned something new after X years of programming, but that wasn't true for me. You guys need to read the Bash manual and really have your mind blown. Anyway:

Pros:
- Good introduction to scripting for complete beginners
- Pretty Cover picture

Cons:
- Poorly formatted pages/code. Felt like they just hit upload on a word doc and didn't look at how it was formatted
- Errors in the code. Small typos, forgetting to add a ! to the shebang a lot, etc. Obviously didn't run all of these examples
- Only 84 pages long. Most of those are repeated code blocks and exercises. Felt like a resume bullet/link to the author's paid website
- Suggests questionable practices (Parsing ls, echo instead of printf, not taking more advantage of builtins like $0 for the script name or mktemp for making tmp files, setting exit 0 on a test of exit 0 anyway, etc.)
- Spends a long time talking about debugging but doesn't mention actually helpful tools like shellcheck, BATS, etc.
- Doesn't really talk about when NOT to use a shell script
- Also, this is all Bash based with hardly any mentions of portability. So it should just be called "Bash Scripting"

All in all, the price is right if you have never scripted anything, but there are much better resources out there like Greg's Wiki, tldp, or even the Unix Stack Overflow
Read more
5 people found this helpful

Sign in to filter reviews
1,259 total ratings, 153 with reviews

There was a problem filtering reviews right now. Please try again later.

From the United States

Jake
5.0 out of 5 stars Great book and quick read for a newbie
Reviewed in the United States ๐Ÿ‡บ๐Ÿ‡ธ on June 24, 2023
Verified Purchase
Iโ€™ve been using linux for a few years now, I am far from an expert, but I k it how to google my way through an issue. I donโ€™t like reading, and I always struggle to push myself to get through programming books. I got through this one in a weekend and it gave me enough knowledge to start creating scripts that have saved me enough time at work to start creating more scripts at work. Highly recommend it for guys like me.
Helpful
Report
    Showing 0 comments

There was a problem loading comments right now. Please try again later.


Anna J
4.0 out of 5 stars Just what I needed.
Reviewed in the United States ๐Ÿ‡บ๐Ÿ‡ธ on November 14, 2022
Verified Purchase
Every page of this book is practical and easy to understand; it is incredibly useful and straightforward. It allows you to simply read and write shell scripts, and it will help you enhance your scripting skills rapidly.
Helpful
Report
    Showing 0 comments

There was a problem loading comments right now. Please try again later.


Simon Wilkinson
4.0 out of 5 stars Concise overview
Reviewed in the United States ๐Ÿ‡บ๐Ÿ‡ธ on September 19, 2022
Verified Purchase
A very short and to the point guide to shell scripting. If you are looking for a quick guide to get started this is a good entrypoint.
Helpful
Report
    Showing 0 comments

There was a problem loading comments right now. Please try again later.


Anonymous
5.0 out of 5 stars From Zero to Scripting in a Quick 100 Pages!
Reviewed in the United States ๐Ÿ‡บ๐Ÿ‡ธ on February 22, 2016
Verified Purchase
Succinctly:

In less than 100 pages, the author gets you up and running with [Bash] shell scripting. The entire book is precise, clear, and well structured. There is no divergence from the topic or the lessons, only short tips on common errors, style, and convention. In some cases I did look elsewhere to figure somethings out, but that was my own need for differentiated instruction. As such, I enrolled in the author's course on Udemy, which is cheap (link below).

If, like me, you get distracted by implementation details and are looking for a book that will teach you shell scripting from scratch quickly (or quickly tie a bunch of disparate knowledge together), then this book is for you! I also highly recommend the Udemy course in addition to the book.

Below is a reply to the author of "Shell Scripting", Jason Cannon, over at his course on Udemy [...]

"Thanks for the this awesome course and your equally awesome book: "Shell Scripting"! I love that from pp 2 - 85 is basically no fluff or divergence from what you've set out to do: teaching shell scripting succinctly. I also love that I can switch in between your video lectures and the book, or go over sections from your video lectures in the book. Great flexibility and scaffolding for learning.

It's really great that you've provided a straight forward and โ€‹practical introduction to shell scripting. I will recommend this to anyone having the same problem as me with more traditional [Bash] scripting tutorials, which is that they have some amount of divergence from actual shell scripting. While I really am interested in things like Processes, Streams, and File Descriptors; I get really caught-up in the implementation side of things. I can focus on implementation later, as I progress in knowledge.

So, again, thank you!"
18 people found this helpful
Helpful
Report
    Showing 0 comments

There was a problem loading comments right now. Please try again later.


Kindle Customer
5.0 out of 5 stars Know some Unix / Linux Command Line? Take it to the Next Level with Shell Scripting!
Reviewed in the United States ๐Ÿ‡บ๐Ÿ‡ธ on June 16, 2022
Verified Purchase
This book teaches exactly what it says: Shell Scripting . Clearly, easily, & with excellent warnings of common mistakes and pitfalls, and with clear, short Good Programming tips & advice.

If you know some Unix/Linux Command Line, i.e., are able to use the Terminal, then I don't know a better book that expands your abilities and productivity than this book! Especially since it's as cheap as a bad cup of coffee!

If you don't know Linux/Unix Command Line, or if you do and hate it, get the cup of bad coffee instead! ๐Ÿ˜‰
One person found this helpful
Helpful
Report
    Showing 0 comments

There was a problem loading comments right now. Please try again later.


Jo Si
5.0 out of 5 stars Sets the record straight
Reviewed in the United States ๐Ÿ‡บ๐Ÿ‡ธ on January 22, 2018
Verified Purchase
This book is good for both beginners and those who have been automating on the command line for a while, as it intelligently focuses on many of the most important, sometimes long-forgotten fundamentals, with the goal of helping the reader apply the 101s to solve actual real-life problems or enhance practical workflows.

It's easy to pick up some bad habits, or lose knowledge, over time, of useful practices or methods, and a read of this guide followed up by semi-regular reviews will be the WD-40 to many people's squeaky scripting practices, I think no matter the level of experience.

While you won't find scripting examples beyond even just 50 lines, this book is a toolbox more than a preconstructed assembly line. Its aim seems to impart wisdom on how this piece can help you in this area, and reminds us all about this other piece, which we forgot about but begs to be included in our existing workflow. And over time, this toolbox will increase the efficiency of, and perhaps even size/capabilities of our own personal assembly lines.

As toolbox as it is, it's like any other toolbox and assumes that the reader knows enough about most of the individual tools and has worked with enough of them over time to make use of what's included in the box ("book").

Don't buy until you've written a few of your own scripts/functions and want to take the next step in actually becoming good at this.
16 people found this helpful
Helpful
Report
    Showing 0 comments

There was a problem loading comments right now. Please try again later.


Grayson Kent
3.0 out of 5 stars Good for Beginners. Not much else
Reviewed in the United States ๐Ÿ‡บ๐Ÿ‡ธ on July 29, 2017
Verified Purchase
Let me start by saying this is a good book for shell beginners to start with, and I want to really give it 3.5 stars, but it is hard to like.

I powered through it because people kept saying they learned something new after X years of programming, but that wasn't true for me. You guys need to read the Bash manual and really have your mind blown. Anyway:

Pros:
- Good introduction to scripting for complete beginners
- Pretty Cover picture

Cons:
- Poorly formatted pages/code. Felt like they just hit upload on a word doc and didn't look at how it was formatted
- Errors in the code. Small typos, forgetting to add a ! to the shebang a lot, etc. Obviously didn't run all of these examples
- Only 84 pages long. Most of those are repeated code blocks and exercises. Felt like a resume bullet/link to the author's paid website
- Suggests questionable practices (Parsing ls, echo instead of printf, not taking more advantage of builtins like $0 for the script name or mktemp for making tmp files, setting exit 0 on a test of exit 0 anyway, etc.)
- Spends a long time talking about debugging but doesn't mention actually helpful tools like shellcheck, BATS, etc.
- Doesn't really talk about when NOT to use a shell script
- Also, this is all Bash based with hardly any mentions of portability. So it should just be called "Bash Scripting"

All in all, the price is right if you have never scripted anything, but there are much better resources out there like Greg's Wiki, tldp, or even the Unix Stack Overflow
5 people found this helpful
Helpful
Report
    Showing 0 comments

There was a problem loading comments right now. Please try again later.


Amazon Customer
5.0 out of 5 stars Just as described. Great price. Shipped as promised.
Reviewed in the United States ๐Ÿ‡บ๐Ÿ‡ธ on October 18, 2022
Verified Purchase
Just as described. Great price. Shipped as promised.
Helpful
Report
    Showing 0 comments

There was a problem loading comments right now. Please try again later.


Reader
5.0 out of 5 stars Probably the best coding book I've ever read
Reviewed in the United States ๐Ÿ‡บ๐Ÿ‡ธ on June 25, 2021
Verified Purchase
I felt fairly knowledgeable about Linux commands but very weak at shell scripting, so I bought this book because it was rated so highly. It is phenomenal. It's extremely short and the text is big, but that is the best thing about it--every page is valuable and clear. This book is insanely practical and extremely understandable. I really understand shell scripting now. I did all the exercises and you should too. They are pretty basic but they give you the hang of shell scripts. Can't say enough about this book.
Helpful
Report
    Showing 0 comments

There was a problem loading comments right now. Please try again later.


FasterThanLight
4.0 out of 5 stars Will immediately help you with shell scripting in 'nix
Reviewed in the United States ๐Ÿ‡บ๐Ÿ‡ธ on November 11, 2020
Verified Purchase
I've dabbled with scripting for a long time to help automate specific tasks (less prone to error if I just enter one command that then runs many). This book was able to help me get my mind around shell scripting in a way I couldn't before, and I was able to write several scripts that each turned hours worth of keyboard work into seconds of work via the script. Highly recommend. Wish, if anything, it had more content.
Helpful
Report
    Showing 0 comments

There was a problem loading comments right now. Please try again later.


  • โ†Previous page
  • Next pageโ†’

Need customer service?
‹ See all details for Shell Scripting: How to Automate Command Line Tasks Using Bash...

Your recently viewed items and featured recommendations
›
View or edit your browsing history
After viewing product detail pages, look here to find an easy way to navigate back to pages you are interested in.

Back to top
Get to Know Us
  • Careers
  • Amazon Newsletter
  • About Amazon
  • Accessibility
  • Sustainability
  • Press Center
  • Investor Relations
  • Amazon Devices
  • Amazon Science
Make Money with Us
  • Sell products on Amazon
  • Sell apps on Amazon
  • Supply to Amazon
  • Protect & Build Your Brand
  • Become an Affiliate
  • Become a Delivery Driver
  • Start a Package Delivery Business
  • Advertise Your Products
  • Self-Publish with Us
  • Host an Amazon Hub
  • โ€บSee More Ways to Make Money
Amazon Payment Products
  • Amazon Visa
  • Amazon Store Card
  • Amazon Secured Card
  • Amazon Business Card
  • Shop with Points
  • Credit Card Marketplace
  • Reload Your Balance
  • Amazon Currency Converter
Let Us Help You
  • Amazon and COVID-19
  • Your Account
  • Your Orders
  • Shipping Rates & Policies
  • Amazon Prime
  • Returns & Replacements
  • Manage Your Content and Devices
  • Your Recalls and Product Safety Alerts
  • Help
English
United States
Amazon Music
Stream millions
of songs
Amazon Advertising
Find, attract, and
engage customers
6pm
Score deals
on fashion brands
AbeBooks
Books, art
& collectibles
ACX
Audiobook Publishing
Made Easy
Sell on Amazon
Start a Selling Account
 
Amazon Business
Everything For
Your Business
Amazon Fresh
Groceries & More
Right To Your Door
AmazonGlobal
Ship Orders
Internationally
Home Services
Experienced Pros
Happiness Guarantee
Amazon Ignite
Sell your original
Digital Educational
Resources
Amazon Web Services
Scalable Cloud
Computing Services
 
Audible
Listen to Books & Original
Audio Performances
Book Depository
Books With Free
Delivery Worldwide
Box Office Mojo
Find Movie
Box Office Data
ComiXology
Thousands of
Digital Comics
DPReview
Digital
Photography
Fabric
Sewing, Quilting
& Knitting
 
Goodreads
Book reviews
& recommendations
IMDb
Movies, TV
& Celebrities
IMDbPro
Get Info Entertainment
Professionals Need
Kindle Direct Publishing
Indie Digital & Print Publishing
Made Easy
Amazon Photos
Unlimited Photo Storage
Free With Prime
Prime Video Direct
Video Distribution
Made Easy
 
Shopbop
Designer
Fashion Brands
Amazon Warehouse
Great Deals on
Quality Used Products
Whole Foods Market
Americaโ€™s Healthiest
Grocery Store
Woot!
Deals and
Shenanigans
Zappos
Shoes &
Clothing
Ring
Smart Home
Security Systems
 
eero WiFi
Stream 4K Video
in Every Room
Blink
Smart Security
for Every Home
Neighbors App
Real-Time Crime
& Safety Alerts
Amazon Subscription Boxes
Top subscription boxes โ€“ right to your door
PillPack
Pharmacy Simplified
Amazon Renewed
Like-new products
you can trust
  • Conditions of Use
  • Privacy Notice
  • Your Ads Privacy Choices
ยฉ 1996-2023, Amazon.com, Inc. or its affiliates