Introduction to Bash Scripting
Unix
| Intermediate
- 13 videos | 1h 19m 15s
- Includes Assessment
- Earns a Badge
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.
WHAT YOU WILL LEARN
-
Create, execute, document, and comment in a bash scriptUse read and echo to get user input and display script output, and recall how to return results at the end of the scriptWork with variables configured in the environment within a bash scriptAccess and use parameters passed in from the command line to a bash scriptUse input and output redirection to send the output to a device, stdout, and stderrUse command line tools and key presses to control and manipulate scriptsWork with bash's built-in variables to get data about the script and the environment
-
Create, use, and manipulate variables within a scriptCreate constants, control and understand variable scope, and export variablesUse escaping and printf to control how variables and string data are displayedCreate and use functions within a bash script, creating a library of functions that can be used in another scriptUse parameters to pass data to a function and add return codes to get the status or result from a functionCreate, use, and run bash scripts that can manipulate variables, return results from the environment, and use functions
IN THIS COURSE
-
5m 15sIn this video, you will create, execute, document, and comment on a Bash script. FREE ACCESS
-
3m 31sIn this video, you will use the read and echo commands to get user input and display script output, and recall how to return results at the end of the script. FREE ACCESS
-
10m 13sFind out how to work with variables configured in the environment within a Bash script. FREE ACCESS
-
5m 46sIn this video, you will access and use parameters passed in from the command line to a Bash script. FREE ACCESS
-
8m 42sIn this video, you will use input and output redirection to send the output to a device, standard output, and standard error. FREE ACCESS
-
7m 6sIn this video, you will use command line tools and key presses to control and manipulate scripts. FREE ACCESS
-
3m 26sFind out how to work with Bash's built-in variables to get data about the script and the environment. FREE ACCESS
-
3m 15sDuring this video, you will learn how to create, use, and manipulate variables within a script. FREE ACCESS
-
8m 30sLearn how to create constants, control and understand variable scope, and export variables. FREE ACCESS
-
6m 36sIn this video, you will use escaping and printf to control how variables and string data are displayed. FREE ACCESS
-
7m 40sIn this video, you will learn how to create and use functions within a Bash script, creating a library of functions that can be used in another script. FREE ACCESS
-
5m 35sLearn how to use parameters to pass data to a function and add return codes to get the status or result from a function. FREE ACCESS
-
3m 40sIn this video, you will create, use, and run Bash scripts that can manipulate variables, return results from the environment, and use functions. 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.