Introduction to Bash Scripting

Unix
  • 13 Videos | 1h 25m 15s
  • Includes Assessment
  • Earns a Badge
Likes 245 Likes 245
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 script
    use read and echo to get user input and display script output, and recall how to return results at the end of the script
    work with variables configured in the environment within a Bash script
    access and use parameters passed in from the command line to a Bash script
    use input and output redirection to send the output to a device, stdout, and stderr
    use command line tools and key presses to control and manipulate scripts
    work with Bash's built-in variables to get data about the script and the environment
  • create, use, and manipulate variables within a script
    create constants, control and understand variable scope, and export variables
    use escaping and printf to control how variables and string data are displayed
    create and use functions within a Bash script, creating a library of functions that can be used in another script
    use parameters to pass data to a function and add return codes to get the status or result from a function
    create, use, and run Bash scripts that can manipulate variables, return results from the environment, and use functions

IN THIS COURSE

  • Playable
    1. 
    Creating a Shell Script
    5m 15s
    UP NEXT
  • Playable
    2. 
    Using Input and Output and Returning Results
    3m 31s
  • Locked
    3. 
    Working with Environment Variables
    10m 13s
  • Locked
    4. 
    Passing and Using Arguments in Shell Scripts
    5m 46s
  • Locked
    5. 
    Using Input and Output Redirection
    8m 42s
  • Locked
    6. 
    Controlling and Manipulating Running Scripts
    7m 6s
  • Locked
    7. 
    Working with Built-in Variables
    3m 26s
  • Locked
    8. 
    Using and Manipulating Variables
    3m 15s
  • Locked
    9. 
    Applying Advanced Variable Manipulations
    8m 30s
  • Locked
    10. 
    Formatting Variable Output
    6m 36s
  • Locked
    11. 
    Creating and Using Functions
    7m 40s
  • Locked
    12. 
    Using Parameters and Return Codes in Functions
    5m 35s
  • Locked
    13. 
    Exercise: Creating Bash Scripts
    3m 40s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

JOURNEY OS Exploits
Likes 22 Likes 22  
Likes 31 Likes 31  

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 318 Likes 318  
Likes 64 Likes 64  
Likes 186 Likes 186