Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Learning Linux Shell Scripting

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to automate repetitive tasks with Linux shell scripting.

Syllabus

Introduction
  • Welcome
  • What you should know
1. Shell Scripting Basics
  • Printing to the console
  • chmod
  • Comments
  • The shebang
  • Creating and using variables
  • Passing parameters
  • Challenge: Create a script
  • Solution: Create a script
2. Branching and Loops
  • The if statement
  • The else clause
  • The elif clause
  • The while loop
  • The for loop
  • Using break and continue
  • Challenge: Counter
  • Solution: Counter
3. Environment Variables
  • Reading environment variables
  • Standard environment variables
  • Challenge: Display a variable
  • Solution: Display a variable
4. Functions
  • The basics of functions
  • Using parameters
  • Piping
  • Challenge: Pipes and functions
  • Solution: Pipes and functions
5. File Operations
  • Reading files
  • Writing files
  • File checksums
  • Challenge: Read a text file
  • Solution: Read a text file
6. Sleep and Process
  • Using the sleep command
  • Watching a process
  • Challenge: Watch a script
  • Solution: Watch a script
7. Interactive Scripts
  • Getting input from users
  • Handling bad data
  • Challenge: Guessing game
  • Solution: Guessing game
Conclusion
  • Next steps

Taught by

Troy Miles

Reviews

4.7 rating at LinkedIn Learning based on 401 ratings

Start your review of Learning Linux Shell Scripting

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.