Post

Learning Bash Scripting

Learning Bash Scripting

Bash, or the Bourne Again Shell, is a widely popular command-line interpreter for administration and programming tasks. But Bash is different than most scripting languages. That’s why Scott Simpson spends some time in this course running you through the syntax—introducing variables, numbers, and control structures—so you can start writing scripts right away. He shows you how to wrap up multiline operations in one file, implement flow control, and interact with users to get input. Plus, he offers challenges along the way that allow you to put what you’ve learned to the test.

What You’ll Learn

  • What is Bash?
  • Understanding Bash script syntax
  • Creating a basic Bash script
  • Displaying text with “echo”
  • Working with numbers, strings, and arrays
  • Reading and writing text files
  • Working with loops
  • Using functions
  • Getting user input during execution
  • Ensuring a response

Note: This course has been archived by LinkedIn Learning and may no longer be available to view.

View on LinkedIn Learning

Exercise Files on GitHub

This post is licensed under CC BY 4.0 by the author.