Sorry, your browser is not supported
To have the best experience using Skillshare, we recommend that you use one of these supported browsers.

Bash Shell Scripting Tutorial for Beginners

Yogesh Patel, Software Developer and Programming Enthu

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
28 Videos (4h 14m)
    • Introduction

      11:45
    • using Variables and Comments

      10:16
    • Read User Input

      11:30
    • Pass Arguments to a Bash-Script

      8:34
    • If Statement ( If then , If then else, If elif else)

      13:17
    • File test operators

      10:29
    • How to append output to the end of text file

      10:46
    • Logical 'AND' Operator

      6:34
    • Logical 'OR' Operator

      5:45
    • Perform arithmetic operations

      7:20
    • Floating point math operations in bash | bc Command

      12:21
    • The case statement

      7:51
    • The case statement Example

      8:38
    • Array variables

      10:29
    • WHILE Loops

      6:20
    • using sleep and open terminal with WHILE Loops

      4:55
    • Read a file content in Bash

      7:20
    • UNTIL loop

      4:21
    • FOR loop

      8:39
    • use FOR loop to execute commands

      6:45
    • Select loop

      7:01
    • Break and continue

      6:42
    • Functions

      9:42
    • Local variables

      8:43
    • Function Example

      11:57
    • Readonly command

      7:17
    • Signals and Traps

      21:44
    • How to debug a bash script

      7:22

About This Class

f8a62a89

Linux has a variety of different shells Like Bourne shell (sh), C shell (csh), Korn shell (ksh), TC shell (tcsh), Bourne Again shell (bash). Certainly the most popular shell is “bash”. Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh).  bash is not only an excellent command line shell, but a scripting language in itself. Shell scripting allows us to use the shell's abilities and to automate a lot of tasks that would otherwise require a lot of commands.

Bash scripting will help you automate routine tasks and save valuable time, whether you're a sys admin, Linux user or software developer. Shell script is much quicker than programming in any other languages.

The goal of this course is to provide you with a working knowledge of Bash scripting. We'll start with the basics, starting from creating our first Bash script and running it. Next you will learn about the bash environment, local variables, conditional statements, functions, loops, case statements, string operations, and coprocesses.

4

Students

--

Projects

0

Reviews (0)

Yogesh Patel

Software Developer and Programming Enthu