Skip to main content
HomeShell

Course

Introduction to Bash Scripting

IntermediateSkill Level
4.7+
131 reviews
Updated 06/2025
Bash scripting allows you to build analytics pipelines in the cloud and work with data stored across multiple files.
Start Course for Free

Included withPremium or Teams

ShellProgramming4 hr13 videos43 Exercises3,350 XP33,906Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

Bash is a concise, superfast, and robust scripting language for data and file manipulation. It’s a vital skill for building analytics pipelines in the cloud, favored by Linux users to work with data stored across multiple files.In this course, we’ll guide you through the basics of Bash scripting. We begin with an introduction to Bash script structures, including inputting arguments and outputting results. You’ll then work through data structures, such as variables and arrays, and control statements, including loops and conditionals. You’ll then put what you’ve learned into practice, by creating your own Bash functions and scheduling automated scripts to run like clockwork with cron.

Prerequisites

Introduction to Shell
1

From Command-Line to Bash Script

Start Chapter
2

Variables in Bash Scripting

Start Chapter
3

Control Statements in Bash Scripting

Start Chapter
4

Functions and Automation

Start Chapter
Introduction to Bash Scripting
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll Now

Don’t just take our word for it

*4.7
from 131 reviews
78%
20%
2%
0%
1%
  • Jhe Jia
    about 15 hours

    Nice course!

  • Nuong
    1 day

  • Malgorzata
    3 days

    Excellent course, I recommend to everybody who deals with any Unix system and needs to process many files. I only missing practical projects on Datacamp for shell and practice exercises.

  • Nan
    5 days

  • Carmela
    5 days

  • Andrei
    7 days

"Nice course!"

Jhe Jia

Nuong

"Excellent course, I recommend to everybody who deals with any Unix system and needs to process many files. I only missing practical projects on Datacamp for shell and practice exercises."

Malgorzata

Join over 17 million learners and start Introduction to Bash Scripting today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.