Shell Scripting: Unix Intermediate

  • 4 Courses | 5h 4m 49s
  • 9 Books | 73h 59m
  • Includes Lab
Likes 89 Likes 89
A Shell script is a sequence of commands designed to be run by the Unix shell. Explore the fundamentals of Shell scripting.


Introduction to Bash Scripting

  • Playable
    Creating a Shell Script
    5m 15s
  • Playable
    Using Input and Output and Returning Results
    3m 31s


Introduction to Bash Scripting
Learn the basics of BASH scripting! Bash is a concise scripting language that is used on Unix, Linux, and older versions of Windows and Apple Macs. During this course you will learn to create, execute, document, and comment a Bash script. See how to pass and use arguments; access, display, redirect, get input and output, and return results. Then learn to control and manipulate constants as well as running scripts. See how to create, manipulate, use, and export variables. Study ways to control variable scope, define environmental variables, and set string data output. Conclude by creating and use your own library of functions.
13 videos | 1h 25m has Assessment available Badge
Bash Scripting Flow Control & Data Types
Bash syntax is a scripting language used for data manipulation. During this course, you will learn how to form conditional statements and evaluate them with the Bash test command tool. Begin by creating compound conditional statements with comparison operators. Next, learn how to use a for loop construct within a Shell script. Other topics include wildcards, while loops, until loops, break and continue commands, and case statements. From there you will observe how to create an array, and manipulate data. Then discover how to perform simple math operations, calculate floating point math, and convert numbers between bases. Conclude by employing Bash's string manipulation operations and learn the basic syntax to manipulate strings, directories, and directory structures.
12 videos | 1h 23m has Assessment available Badge
Bash Advanced Scripting & File I/O
Explore Bash advanced scripting, such as how to parse output from external commands and handle file I/O. See how to catch and trap interrupts and signals. Employ brace expansion with data ranges. Generate and execute strings as commands with eval. Apply default values for input to handle undefined variables. Create a recursive function and script. Display textual progress indicators. Make a dynamic script inside a script. Read data from a text file into an array, with map file. Edit File Contents with the sed command, and select data from files with the awk command.
13 videos | 1h 13m has Assessment available Badge
Automation Using Bash & Expect
Discover process automation for Unix and Linux systems with Bash and Expect shell scripts. See how to create Expect scripts to automate inputs to another command or script; prompt for user input with the interact command; employ autoexpect; automate FTP and SCP sessions to transfer files; and use rsync and SSH for secure local and remote backups of files and directories. Use the Korn shell and the C shell and compare them to Bash.
10 videos | 1h 2m has Assessment available Badge


Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.



UNIX & Shell Programming
Providing numerous examples and complete program scripts that will help in grasping the key concepts effectively, this book discusses the features that made Unix the most suitable operating system of its time.
Book Duration 12h 59m Book Authors By B.M. Harwani


Pro Bash Programming:  Scripting the GNU/Linux Shell, Second Edition
Teaching you how to effectively utilize the Bash shell in your programming, this book is easy to read and understand, and will teach you how to get to grips with Bash programming without drowning you in pages and pages of syntax.
Book Duration 3h 19m Book Authors By Chris F. A. Johnson, Jayant Varma


Shell Scripting: Expert Recipes for Linux, Bash and More
A compendium of shell scripting recipes that can immediately be used, adjusted, and applied, this book covers shell programming, with a focus on Linux and the Bash shell while providing credible, real-world relevance and the flexible tools to get started immediately.
Book Duration 9h 14m Book Authors By Steve Parker


Mastering Unix Shell Scripting: BASH, KORN Shell, and KORN 93 Shell Scripting for Programmers, System Administrators and UNIX Guru's, Second Edition
Guiding you through every detail of writing shell scripts to automate specific tasks, this book will help you build tools that monitor for specific system events and situations, and gain the skills to solve real-world system administration problems.
Book Duration 14h 32m Book Authors By Randall K. Michael


Linux Command Line and Shell Scripting Bible, Third Edition
With detailed instruction and abundant examples, this book teaches you how to bypass the graphical interface and communicate directly with your computer, saving time and expanding capability.
Book Duration 11h 42m Book Authors By Christine Bresnahan, Richard Blum


Wicked Cool Shell Scripts: 101 Scripts for Linux, OS X, and UNIX Systems, 2nd Edition
Whether you want to save time managing your system or just find new ways to goof off, this book offers a collection of useful, customizable, and fun shell scripts for solving common problems and personalizing your computing environment.
Book Duration 5h 51m Book Authors By Brandon Perry, Dave Taylor