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.7 out of 5 rating Based on 30 Ratings

"Simply Excellent!" - by esxidev on 07-JUL-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is a great introduction and jumpstart to shell scripting with bash. The author is clear and concise.
This is the first code-based video on Safari where I haven't had to use the pop-up or fullscreen setting--very clear visually.

On occasion through the videos, you have to wait until the next part to see the full solution to the previous part, but this is rare and towards the end. A very minor annoyance--all-in-all, an excellent and up-to-date introduction!

Report as Inappropriate

"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

Table of Contents

Chapter/Selection

Time

Writing Your First Scripts

Play Video

00:33:10

Making Decisions in Bash

Preview

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