• Online, Self-Paced
Course Description

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.

Learning Objectives

{"catch signals or interrupts using traps in a Bash script to allow the script to exit gracefully or handle the interruption"}

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.