Published on July 26, 2017 by ProgrammingKnowledge

For more detailed Tutorial visit – goo.gl/bbvi0C

A shell script is a computer program designed to be run by the Unix shell, a command-line interpreter. The various dialects of shell scripts are considered to be scripting languages. A shell usually interprets a single line of input, but we can also create a file containing a number of lines of commands to be interpreted. This file is a program known as a shell script. The program can also contain control structures (if-then, loops). Shell scripts allow a sequence of commands to be executed automatically . Shell Scripting tutorial is designed to help beginners and professionals.

00:00:00 1 – Introduction
00:10:00 2 – using Variables and Comments
00:20:11 3 – Read User Input
00:31:37 4 – Pass Arguments to a Bash-Script
00:40:08 5 – If Statement ( If then , If then else, If elif else)
00:53:20 6 – File test operators
01:03:45 7 – How to append output to the end of text file
01:14:26 8 – Logical ‘AND’ Operator
01:21:01 9 – Logical ‘OR’ Operator
01:26:35 10 – Perform arithmetic operations
01:33:51 11 – Floating point math operations in bash | bc Command
01:46:06 12 – The case statement
01:53:53 13 – The case statement Example
02:02:26 14 – Array variables
02:12:51 15 – WHILE Loops
02:19:07 16 – using sleep and open terminal with WHILE Loops
02:23:59 17 – Read a file content in Bash
02:31:15 18 – UNTIL loop
02:35:38 19 – FOR loop
02:44:08 20 – use FOR loop to execute commands
02:50:44 21 – Select loop
02:57:41 22 – Break and continue
03:04:11 23 – Functions
03:13:48 24 – Local variables
03:22:09 25 – Function Example
03:34:16 26 – Readonly command
03:41:34 27 – Signals and Traps
04:03:08 28 – How to debug a bash script

————————-Follow——————-
My Website – www.codebind.com
My Blog – goo.gl/Nd2pFn
My Facebook Page – goo.gl/eLp2cQ
Google+ – goo.gl/lvC5FX
Twitter – twitter.com/ProgrammingKnow
Pinterest – goo.gl/kCInUp
Text Case Converter – goo.gl/pVpcwL
Epoch Timestamp Converter – goo.gl/Zedjo5
Decimal – Binary – Hexadecimal Converter – goo.gl/rkX3JE
8-bit Checksum Calculator – goo.gl/inxvIT

Leave a Reply

33 Comments on "Shell Scripting Tutorial"

Notify of
avatar

Gitanjali Kumari
Guest
Gitanjali Kumari
4 months 25 days ago

is " read -p " option is working with string only because when i am using this for reading an integer value and then doing some operation with that read value its producing an error…..and when i removed that the error has gone

falseworld
Guest
falseworld
5 months 7 days ago
Neo Gaz
Guest
Neo Gaz
5 months 7 days ago

Bash scripting is a programming language?

ashes karmakar
Guest
ashes karmakar
5 months 11 days ago

Sir please make full tutorial on kali linux

Aman Ludhwani
Guest
Aman Ludhwani
5 months 18 days ago

your video is very helpful thanks to make these videos. and i need your help to make one shell script , i want to make some script that work as a snapshot as like in vmware, so can u please help me out. thank you

Fabian Rivera
Guest
Fabian Rivera
6 months 12 days ago

Thank you so much for this! Very helpful!

Ashish Rai
Guest
Ashish Rai
7 months 8 days ago

Shell scripting syntax are really shitty. It seems as if there are no robust set of defined rules. Everything seems to be so random. Tutorial is good. I was considering c++ a difficult language before I met this don't know what to do with so many syntax let's put them anywhere anytime language.

srikanth vattukuti
Guest
srikanth vattukuti
7 months 21 days ago

could you please tell me how to run the different script files on different terminals using the script at a time

Nathan Sr
Guest
Nathan Sr
8 months 10 days ago

Viewers can further download my collection of complete Bash Scripts at: sourceforge.net/projects/bash-shell-scripting-in-minute/ to Learn Bash Scripting in Just a Few Minutes. These Scripts cover almost all the basics of bash shell scripting and summarizes them in the last script for user convenience.

Nathan Sr
Guest
Nathan Sr
8 months 10 days ago

Viewers can further download my collection of complete Bash Scripts at: sourceforge.net/projects/bash-shell-scripting-in-minute/ to Learn Bash Scripting in Just a Few Minutes. These Scripts cover almost all the basics of bash shell scripting and summarizes them in the last script for user convenience.

1 2 3
wpDiscuz