Home > Store

Advanced Bash Scripting LiveLessons

Online Video

Register your product to gain access to bonus material or receive a coupon.

Description

  • Copyright 2016
  • Edition: 1st
  • Online Video
  • ISBN-10: 0-13-458623-9
  • ISBN-13: 978-0-13-458623-6

5 Hours of Video Instruction

Overview

Expand your Bash scripting skills in 5 hours!

Description

Further your scripting skills with this essential Bash training course. Sander van Vugt, best-selling author of Red Hat and general Linux book and video titles, walks you through everything you need to know to take your Bash skills to the next level. This course will teach you scripting best practices and syntax differences. You will also learn how to use advanced awk, sed, and regular expressions before jumping in to how to analyze advanced scripts. After that, you will dig in to how to write complex scripts and explore the concept of scripting for performance. You will then end with scripting in Python.

This course consists of eight lessons that fully explain advanced Bash scripting concepts. Every lesson contains practical examples to show how scripting solutions are being used in the real world. At the end of each lesson, Sander van Vugt will provide a real scripting exercise so you can test your own skills. You can then review your work against the author’s in a solutions video.

The video lessons cover the following topics:

Lesson 1: Reviewing Basics
Lesson 2: Scripting Best Practices
Lesson 3: Understanding Syntax Differences
Lesson 4: Using Advanced awk, sed, and Regular Expressions
Lesson 5: Analyzing Advanced Scripts
Lesson 6: Writing a Complex Script
Lesson 7: Scripting for Performance
Lesson 8: Beyond Bash; Scripting in Python

Skill Level

Intermediate

What You Will Learn

Bash scripting intermediate and advanced techniques

Who Should Take This Course

The target audience for this course consists of Linux users and professionals who have basic Bash skills and now want to extend their skills automating tasks on Linux using Bash shell scripts. A secondary target audience consists of IT users and professionals who want to get experience with simple programming languages.

New Player Enables Streaming and Download Access

Now you can stream and download videos for unlimited 24/7 online/offline access and ownership.
* Streaming–Watch instantly as the video streams online in real time; after purchase, simply click Watch Now to get started.
* Download–Download video files for offline viewing anytime, anywhere; after purchase, simply click the Download icon within the player and follow the prompts.

Plus, new player features track your progress and help you navigate between modules.

About LiveLessons Video Training

LiveLessons Video Training series publishes hundreds of hands-on, expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. This professional and personal technology video series features world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, IBM Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include IT Certification, Programming, Web Development, Mobile Development, Home and Office Technologies, Business and Management, and more.
View all LiveLessons on InformIT at http://www.informit.com/livelessons



Sample Content

Table of Contents

Lesson 1: Reviewing Basics
1.1: Using Pattern Matching
1.2: Using Command Substitution
1.3: Using Arguments and Variables
1.4: Using Iteration Structures (Part 1)
1.5: Using Iteration Structures (Part 2)
1.6: Using Arrays
1.7: Using Functions
1.8: Analyzing Math Script
Exercise 1
Exercise 1 Solution (Part 1)
Exercise 1 Solution (Part 2)
Lesson 2: Scripting Best Practices
2.1: Organizing Scripts
2.2: Working With Include Files
2.3: Using Internal vs. External Commands
2.4: Making Shell Scripts More Secure
2.5: Analyzing Foo Script
2.6: Analyzing Cd Script
Exercise 2
Exercise 2 Solution
Lesson 3: Understanding Syntax Differences
3.1: Understanding the Origins of Bash
3.2: Using Bourne Style Syntax
3.3: Using C-Style Syntax
3.4: Using Different Methods to Test
3.5: Using Different Methods to Calculate
3.6: Analyzing Tcsh Script
3.7: Analyzing Tcsh Script in Bash
Exercise 3
Exercise 3 Solution
Lesson 4: Using Advanced awk, sed, and Regular Expressions
4.1: Using Regular Expressions
4.2: Understanding sed Basics
4.3: Performing Advanced sed Operations
4.4: Understanding awk Basics
4.5: Performing Advanced awk Operations
Exercise 4
Exercise 4 Solution
Lesson 5: Analyzing Advanced Scripts
5.1: Analyzing the Structure
5.2: Analyzing the Parts in the Script
5.3: Analyzing the /etc/init.d/network Script
5.4: Analyzing the /etc/profile Script
Exercise 5
Exercise 5 Solution
Lesson 6: Writing a Complex Script
6.1: Defining the Mission Statement
6.2: Creating the Script Structure
6.3: Writing the Code
6.4: Considering Next Steps Part 1
6.4: Considering Next Steps Part 2
6.5: Implementing Next Steps
Exercise 6
Exercise 6 Solution (Part 1)
Exercise 6 Solution (Part 2)
Lesson 7: Scripting for Performance
7.1: Optimizing Loops
7.2: Minimizing File Writes
7.3: Minimizing External Command Usage
7.4: Avoiding Useless Commands (cat /etc/passwd | grep root)
7.5: Minimizing Operations
7.6: Analyzing Script Performance with time
7.7: Analyzing Script Performance with strace
Exercise 7
Exercise 7 Solution
Lesson 8: Beyond Bash; Scripting in Python
8.1: Comparing Bash to Python
8.2: Programming in Python
8.3: Writing your First Python Script
8.4: Working with Arguments
8.5: Using Indentation
8.6: Interactive Python
8.7: Writing Output to Files
Exercise 8
Exercise 8 Solution

Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership