Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Bash Shell Scripting: Crash Course For Beginners
Highest Rated
Rating: 4.5 out of 5(15,942 ratings)
56,919 students

Bash Shell Scripting: Crash Course For Beginners

Learn Bash Shell Scripting from total beginner:Start from the Command Line,finish with a real world Shell Script Project
Created byFrancesco Santi
Last updated 4/2020
English

What you'll learn

  • Learn how to use the command line
  • Be able to write your own Shell scripts
  • Automate tasks using Shell scripts
  • Make decisions by using if-else statements
  • Make decision based on strings, variables or files
  • How to use arithmetic expressions
  • How to loop through files and folders with for and while loops
  • How to use functions
  • How to deal with variables scope
  • Create Shell Scripts that solves a real world problem

Course content

8 sections75 lectures5h 25m total length
  • Introduction3:57
  • Terminal Overview6:14

    Explore the terminal overview and learn how commands drive actions, output, and options. See examples like date, echo, and calendar showing commands acting alone or on something, with UTC time.

  • Track Your Progress0:50
  • List command Ls4:55

    Identify your user with who am i, determine your current directory with pwd, and list contents using ls, including hidden files that start with a dot via ls -a.

  • Ls -L. Understand the Terminal Output6:48
  • Ls with folders3:38

    Learn to use the ls command to list folder contents and hidden files in long format, inspect directories, then use the file command to identify file types and image sizes.

  • Change Directory: cd4:27

    Learn to change directories with the cd command, navigate to desktop and nested folders, use ls and pwd to verify location, and return to home with cd.

  • NEW! Open, Xdg-Open3:09
  • Touch3:32

    Learn how to use touch to create files with or without extensions, update their last modified date, and list contents with ls, then open files with xdg-open in Ubuntu.

  • Move4:56

    Create folders with mkdir and files with touch, then rename or move them using mv to organize items in folders, navigating with the present working directory and tab completion.

  • Copy-Remove4:08

    learn to copy and remove files in a new folder using cp and remove commands, duplicating b.txt to b2.txt and deleting two.txt and html files.

  • Star Sign: *3:58
  • Recursive5:05

    Master recursive commands in the terminal by using cp -R to copy directories, rm -R to remove, and ls -R to list contents recursively; mv moves without -R.

  • Section 1
  • (NEW!) Exercises Command Line Sect10:32
  • (NEW!) Sect 1 Ex13:40
  • (NEW!) Sect 1 Ex21:37

Requirements

  • Have access to use the command line on Linux, Mac or Unix computer
  • Very Basic knowledge of the command line could be helpful, however not necessary

Description

You can finally understand Shell Scripting.

This course will give you a clear understanding of how to write Shell Scripts.

In this course everything is explained at a slow pace and thoroughly to make sure you can follow everything. 

Even if you never used the command line, the first 2 Sections  will teach you all the tools necessary to use the command line and start writing your shell scripts, nothing is left out.

Moreover after walking you through  all the fundamentals of Shell Scripting, the last 2 Sections are project based, there we will combine everything you have learned in the course to create a script that solve s real world problem.

By the end of the course you'll be writing  your own Shell Scripts, in particular you will learn how to:

  • Use the command line
  • Automate tasks using Shell Scripts
  • Create and use variables in your scripts
  • Make decisions by using if-else statements
  • Make decision based on strings, variables or files
  • Use arithmetic expressions
  • Loop through files and folders with "for" and "while" loops
  • Use functions
  • Deal with variables scope
  • Create Shell Scripts that solves real world problems
  • and much more... 

Who this course is for:

  • Anyone who would like to learn how to automate tasks with the terminal
  • Anyone familiar with the Terminal but not with Shell Scripting
  • Anyone who want to learn the command line and shell scripting in the same course