Learning Bash Scripting

Bash, or the Bourne Again Shell, is a widely popular command-line interpreter for administration and programming tasks. It's also the default option on Mac OS X and Linux. 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.

Topics include:

  • What is Bash?
  • Managing output with grep, awk, and cut
  • 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

Course Timeline:

Learning Bash Scripting Welcome

...

Learning Bash Scripting What should you know

...

Learning Bash Scripting Using the exercise file

...

What's Bash?

...

Reviewing Common Bash Commands

...

Tilde and brace expansion

...

Changing where things go with pipes and redirection

...

Manipulating output with grep, awk, and cut

...

Understanding Bash script syntax

...

Creating Basic Bash Script

...

Displaying text with echo

...

Working with variables

...

Command substitution

...

Working with numbers

...

Comparing values

...

Working with strings

...

Coloring and styling te

...

Exploring some handy helpers: date and printf

...

Working with arrays

...

Reading and writing text files

...

Using here documents

...

Solution: Make a script that generates a system report

...

Challenge: Make a script that generates a system report

...

Testing truth conditions with the if keyword

...

Working While With Until-loops

...

Introducing for loops

...

Selecting behavior using case

...

Using functions

...

Working with flags

...

Getting input during execution

...

Ensuring a response

...

Challenge: Make a script that uses input

...

Solution: Make a script that uses input

...

Learning Bash Scripting Next step

...

Course Reviews:

Average Rating 0
0 Ratings
Details
5 Stars 0
4 Stars 0
3 Stars 0
2 Stars 0
1 Stars 0

No reviews yet.