Skip to content

Shell Scripting Course Content

Ankam Ravi Kumar edited this page Jun 15, 2018 · 1 revision

Keep in touch with for any kind of technical questions Facebook Email List Linkedin Google Plus Twitter Youtube Email Address

A complete begineers guide to learn shell scripting from scratch which includes Videos, Practice scenarios and project idea. I will create one file for one topic with code.

Before jumping into the Shell scripting below are commands you have to practice for better understanding and familiar with Linux command line interface.

If you do not learn below commands also fine but i personally recommend you to learn commands first.

103 Linux Commands Video Tutorial

alias and unalias, arch, arp, at, awk, bc, blkid, cal, cat, cd, chage, chattr, chgrp, chmod, chown, cp, cpio, crontab, curl, cut, date, dd, df, diff, dig, dnf, du, expr, fdisk, file, find, firewall-cmd, free, ftp, grep, head, history, hostname, id, ifconfig, iostat, ip, kill, last, lessandmore, ln, locate, lpstatandlpadmin, ls, lsof, lspci, mail, man, mdadm, mkdirandrmdir, mkisofs, mount, mutt, mv, nano, netstat, nice, renice, nslookup, passwd, pam_tally2, paste, ping, perloneliner, pkill, ps, pwd, reboot, poweroff, rm, rpm, rsync, scp, screen, sed, sort, ss, ssh, sysctl, tail, tar, tcpdump, top, touch, tr, traceroute, umask, uname, uniq, uptime, useradd, vi, vmstat, w, who, watch, wc, wget, ypcat, yppasswd, yum, zip, sar

After that start learning shell scripting using below topics

Shell Scripting Video Tutorial

Shell Scripting course Overview

Linux Basics

Linux Directory Structure

Linux Basic Commands

Copy, Remove, Move and Time Commands

Dif and Grep Commands

Head, tail, sort and more commands

tr and wc commands

Disk utilities like fdisk, df and du commands

Getting Help From Command Line user Interface

w, who, hostnamem hostnamectl and uname commands

Search for files and directories using find and locate commands

top command its output explanation

vi & vim text editor

sed, awk, vmstat and nestat commands

vnstat command

Introduction to Graphical user interface

cut command

Merge multiple files using paste command

Connect and Manage remote machine using SSH

Changing files and directory permissions

tar and zip commands

Scheduling future jobs using crontab

difference between scripting and programming

what is shell scripting and it's advantages

PATH environment variable

Symbols used shell scripting

Make Shell Script Template

Quotes single, double and reverse - Know difference between each

Bash colors

Script exit status

Variables and it's rules

Special Variables

Environment Variables, system variables and user defined variables

Constant variables, Local & Global variables and Special variables

Positional Parameters

Count number command line arguments $#

Arithmetic Operators

Relational Operators

LogicalOperators

Boolean Operators

Maths using expr command

Real maths using bc command

if statement

if-else statement

if-else-if statement

Nested if statement

Case statement

For Loop

While Loop

Until Loop

Functions

Arrays

Eval command

Shifting parameters using shift command

IFS - Input Field Separator

Writing CPU Usage script

Writing Disk Utilization script

Trouble shooting debugging shell scripts

Checking shell script errors and improvements using shellcheck.net site

Here Document to write paragraphs of text

Getopts Function

Tput making menu's

Executing Multiple scripts from single script

$(()) - Pass command to sub-shell

logger logging messages to log file

Exec to send input to terminal

Resource to Download

Shell Scripting Book

Shell Scripting Book

Shell Scripting Book

Clone this wiki locally