Bash Scripting Flow Control & Data Types
Unix
| Intermediate
- 12 videos | 1h 18m
- Includes Assessment
- Earns a Badge
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.
WHAT YOU WILL LEARN
-
Work with conditional statements in bash scripts and use the built-in test command to evaluate expressionsRecognize numeric, string, and test comparison operators and create compound conditional statementsWork with for loops and wildcardsUse while and until loops to iterate through a list or run until a condition is achievedUse break and continue to control the iterations of a loopCreate a case statement and use it in place of a nested if statement
-
Create an array by adding and removing elements and manipulate the data in the arrayPerform simple math operations in a bash script and use the bc utility to do floating point mathCreate and use a bash script to convert numbers between different basesManipulate strings using the built-in bash string manipulation operationsUse popd, pushd, dirs, pwd, cd, and $dirstack to work with directories and directory structures in a bash scriptWork with conditional statements, loops, and arrays in bash scripts and manipulate string and numeric data
IN THIS COURSE
-
7m 15sFind out how to work with conditional statements in Bash scripts and use the built-in test command to evaluate expressions. FREE ACCESS
-
5m 31sUpon completion of this video, you will be able to recognize numeric, string, and test comparison operators and create compound conditional statements. FREE ACCESS
-
10m 5sIn this video, find out how to work with for loops and wildcards. FREE ACCESS
-
6m 28sDuring this video, you will learn how to use while and until loops to iterate through a list or run until a condition is met. FREE ACCESS
-
6m 49sIn this video, learn how to use the break and continue keywords to control the iterations of a loop. FREE ACCESS
-
4m 27sDuring this video, you will learn how to create a case statement and use it in place of a nested if statement. FREE ACCESS
-
6m 12sLearn how to create an array by adding and removing elements and manipulate the data in the array. FREE ACCESS
-
4m 41sIn this video, you will learn how to perform simple math operations in a Bash script, as well as how to use the bc utility to do floating point math. FREE ACCESS
-
8m 46sIn this video, find out how to create and use a Bash script to convert numbers between different bases. FREE ACCESS
-
7m 2sLearn how to manipulate strings using the built-in Bash string manipulation operations. FREE ACCESS
-
4m 13sFind out how to use popd, pushd, dirs, pwd, cd, and $DIRSTACK to work with directories and directory structures in a Bash script. FREE ACCESS
-
6m 32sDuring this video, you will learn how to work with conditional statements, loops, and arrays in Bash scripts and manipulate string and numeric data. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
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.