Learning Linux Shell Scripting
Offered By: LinkedIn Learning
Course Description
Overview
Learn how to automate repetitive tasks with Linux shell scripting.
Syllabus
Introduction
- Welcome
- What you should know
- Printing to the console
- chmod
- Comments
- The shebang
- Creating and using variables
- Passing parameters
- Challenge: Create a script
- Solution: Create a script
- The if statement
- The else clause
- The elif clause
- The while loop
- The for loop
- Using break and continue
- Challenge: Counter
- Solution: Counter
- Reading environment variables
- Standard environment variables
- Challenge: Display a variable
- Solution: Display a variable
- The basics of functions
- Using parameters
- Piping
- Challenge: Pipes and functions
- Solution: Pipes and functions
- Reading files
- Writing files
- File checksums
- Challenge: Read a text file
- Solution: Read a text file
- Using the sleep command
- Watching a process
- Challenge: Watch a script
- Solution: Watch a script
- Getting input from users
- Handling bad data
- Challenge: Guessing game
- Solution: Guessing game
- Next steps
Taught by
Troy Miles
Related Courses
Supply Chains in Practice: How Things Get to YouThe University of Warwick via FutureLearn Supply Chain Principles
Georgia Institute of Technology via Coursera Fundamentals of Red Hat Enterprise Linux 9
Red Hat via edX Использование механизмов операционных систем в разработке программного обеспечения
National Research Nuclear University MEPhI via Coursera Operating System Fundamentals
Indian Institute of Technology, Kharagpur via Swayam