Linux: Introduction to Shell Scripting for DevOps

Offered By
Coursera Project Network
In this Guided Project, you will:

Write and be able to read Bash scripts

Understand the fundamental components involved in Bash scripting

Clock2 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this 1-hour long project-based course on Linux: Introduction to Shell Scripting for DevOps, you will be writing your own Bash/Shell scripts for scratch.You will be going through all of the key components that make up the bash script, from exit statuses, the test command, if/else statements, loops and file archiving. You will no longer be completely confused when looking at Bash scripts, and will have a working knowledge which allows you to start working with scripts yourself. This course is designed for any person working or who intends to work with Linux, from Linux system administrators to developers and DevOps practitioners. Or even if you are a student who is curious to get comfortable with Linux this course is for you also. This is an intermediate level course and is designed for an individual who has a beginner's knowledge of the Linux/Unix command line and Unix crud practices in computer science. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

LinuxVimEnvironment Variable (Env Var)Bash ScriptingShell Script

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Task 1 - How a script is executable

  2. Task 2 - Passing data to your script

  3. Task 3 - Using environment variables

  4. Task 4 - Write a script to backup a directory and relocate it to another location

  5. Task 5 - If Conditionals, the READ and TEST command and Exit codes

  6. Task 6 - While, Until, For Loops

  7. Task 7 - Writing our Bash Script

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.