Shell Scripting with Bash: Basics

4.6
stars
16 ratings
Offered By
Coursera Project Network
In this Guided Project, you will:

Learn how to automatically rename a collection of files

Learn how to read the contents of a file line by line

Master the basic constructs of Bash with lots of hands-on-exercises

Clock1 hour
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this project, you will learn how to use Bash for creating basic shell scripts. After completing the 1-hour hands-on guided project, you'll know how to automatically rename a collection of files, read the contents of a file line by line and use all basic constructs of Bash. Note: It's recommended that you have some experience with the command line before starting this project. Consider looking into the project 'Practical introduction to the Command Line' first - https://www.coursera.org/projects/practical-introduction-to-the-command-line.

Skills you will develop

Shell ScriptCommand LineBash

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. Command Line, Terminal and Bash

  2. Variables and read

  3. If statements and comparisons

  4. Positional parameters and for loops

  5. Functions and arithmetics

  6. File conditions

  7. While loops

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

Reviews

TOP REVIEWS FROM SHELL SCRIPTING WITH BASH: BASICS

View all reviews

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.