Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Bash Scripting Basics
Rating: 4.3 out of 5(241 ratings)
23,566 students

Bash Scripting Basics

Automate Linux, Unix or Mac
Created byFrank Anemaet
Last updated 8/2021
English

What you'll learn

  • Learn the basics of bash scripting
  • Create your own scripts
  • Repeat commands using various loops
  • Be able to automate anything Linux

Course content

1 section10 lectures49m total length
  • Introduction6:05
  • Variables6:06
  • Parameters5:27
  • If statements5:28
  • Loops7:51
  • Arrays5:49
  • Script2:33
  • Network script4:29
  • Output redirection2:03
  • Functions4:02

Requirements

  • Have Linux, BSD or Mac available

Description

bash is a computer programming language and command language interpreter, usually for the UNIX operating system. The name comes from the Bourne-Again SHell. bash is a dialect of the popular bourne shell, and is one of the most popular shells for interactive use.

Scripts can be run on Linux, Mac OS X and the UNIX variants. At the end of this course, you will be able to create your own scripts.

In this course you learn the basics of bash scripting. You will learn:

  • How to setup a development environment for bash scripting

  • How to write bash scripts

  • How to run bash scripts

  • How to use variables and loops

  • How to use functions

  • much more

If you are a developer you can use this material to get an idea what is possible with bash scripting and maybe you find some useful tips and tricks. If you are a system administrator you may discover in this series of tutorials some tricks for your daily tasks or some missing tools that could help you in your work.

Bash scripts run interpretively. That means that when you run a bash script, it's just executing each command one after the other in the order in which they're written.

This is not about advanced bash techniques, but about getting a good set of basic knowledge on bash scripting. The material here will work with any version of bash and even with other shells.

I've been writing bash scripts for over a decade, and it really improved my productivity. With this course, hopefully you can do the same


Who this course is for:

  • Linux users that want to learn Bash Scripting