Use Bash Scripting on Linux to Execute Common commands

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

Create a User Interface in Bash Using a Select construct.

Modify and Call another Bash script to Add a New User.

Add a Linux command to the Bash Script to Check Top Disk Usage.

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

By the end of this project, you will use a bash script to execute commands and observe their output on a Linux system. Bash, or Bourne Again Shell is more than a shell running in a terminal on Linux; it is a programming language that is used to create powerful programs called shell scripts. Shell scripts are often used to capture common repetitive tasks so they can be executed without the need to memorize multiple individual commands. 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

Bash Control ConstructsBash command line processingLinux AdministrationLinux CommandsBash Scripting

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. Set up a Bash Script File in Visual Studio Code.

  2. Create a User Interface in Bash Using a Select construct.

  3. Modify and Call another Bash script to Add a New User.

  4. Add a Linux command to the Bash Script to Check Top Disk Usage.

  5. Use a Linux Command in the Bash Script to Check Recent Logins.

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.