Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

Great Bash will teach you the fundamentals of bash shell programming, beginning with simple shell scripts and progressing to complex, automated system administration and file management tasks. You'll also get a firm handle on control structures and the decision-making abilities of the bash environment. By the time you're done, you'll have written more than twenty complex shell scripts, and interacted with the rest of your file system.

Throughout the course, you'll learn how to think like a shell programmer. Without compilation or in many cases, strict security constraints, shell programmers have an immense amount of power at their fingertips. You'll build in error checking and learn when to ask for input, and when to take control and just do something. Throughout it all, you'll get a handle on best practices, as you learn from Carl Albing, a seasoned scripting pro.

Subscriber Reviews

Average Rating: 4.75 out of 5 rating Based on 20 Ratings

"Great Bash by Albing" - by jackc on 29-JAN-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
excellent, concise and for a beginner: methodical. Easy to listen and follow.
Report as Inappropriate

"Really Insightful" - by jjam3774 on 03-OCT-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This course will get you up and running in no time. Very detailed.
Report as Inappropriate

"Informative but has some issues" - by Dylan on 22-JUN-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Overall I have enjoyed watching this series.

But, this is driving me nuts. In one of the lessons on functions and another lesson on math and logic, the author talks about reading data from pipe.

ie.. ls -l | bash script.sh
and there should be a while loop to read from stdin.

However, this doesn't work. Atleast not in bash version 4.2 or 3.2.39. the piped data is from subshell and so the variables being read are lost.

It would be excellent if the author would point out when some things will only work with certain versions of bash.

Otherwise, an excellent introduction to scripting with bash.

Report as Inappropriate

"great bash by c. albing" - by rfmonk on 28-MAR-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
excellent series of videos. clear, concise and not full of pep talk and fluff, this course gave me the XP to reach LVL 2 Bash Paladin =].

I strongly recommend it if you work or play in a *nix environment.  

Report as Inappropriate

"Slow pace but well done (!MISSING NEXT LESSONS!)" - by Claudio Nanni on 22-MAY-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
It is definitely just a part of any course, as you can clearly get from Carl's last words in last video ("that's what we gonna talk next", when? where?).
The arguments are treated in a practical manner all withing the bash shell and I found it a good slow pace review, not really to be stuck in front of the monitor , but good especially if you are cleaning up the house or washing dishes :) .
You could find something you did not remember like the BASH simple "regular expressions" to rename files using variables like:  ${myvar%.jpg).png
Please Safari, add continue of the course.

Report as Inappropriate

Table of Contents

Chapter/Selection

Time

Writing Your First Scripts

Preview

00:33:10

Making Decisions in Bash

Play Video

00:22:17

Variables

Preview

00:59:26

Flow of Control

Preview

00:42:11

Shell Math and Logic

Preview

00:30:37

Functions

Preview

00:28:51

Arrays

Preview

00:20:27

Great Scripts

Preview

00:28:47

Extras

The publisher has provided additional content related to this title.


Description
Content

Visit the catalog page for Great Bash

  • Catalog Page

Visit the errata page for Great Bash

  • Errata