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

Shell Scripting : Learn Shell Scripting, SED and AWK on Linux and Unix

Suresh Kumar Srivastava

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
63 Videos (4h 48m)
    • Introduction to Shell Script

      8:54
    • A Simple Shell Script

      3:29
    • Variables

      4:18
    • Demo of Variable

      3:54
    • I/O Redirection

      4:07
    • Pipe

      2:45
    • Filename Substitution

      6:41
    • Single Quote, Double Quote, Backslash

      11:07
    • Command Substitution

      4:07
    • Integer Arithmetic

      3:07
    • expr Command

      2:30
    • Exit Status

      6:20
    • if...then Statement

      4:50
    • test Command

      1:41
    • Testing Integer Comparison

      4:36
    • Testing Strings

      3:47
    • Testing Files

      3:50
    • Testing Logical Negation

      1:38
    • Testing Logical OR (-o)

      1:54
    • Testing Logical AND (-a)

      1:43
    • && and || for Combined Test

      4:36
    • Do Nothing or Null command

      2:12
    • if ...then...else Statement

      2:26
    • Nested If

      3:23
    • Another Syntax for Nested if (if...elif)

      3:21
    • Double Parentheses

      2:46
    • Double Square Brackets

      1:51
    • exit Command

      4:45
    • case Command

      4:12
    • for Command

      4:22
    • Reading a File

      5:34
    • Another Syntax of for Command

      3:34
    • while Command

      3:30
    • until Command

      4:11
    • Nested Loop

      3:03
    • Redirection of Loop Output

      1:28
    • break Command

      4:12
    • continue Command

      3:15
    • Command Line Arguments

      3:20
    • $# variable

      2:52
    • $* variable

      2:19
    • 2:06
    • shift Command

      2:38
    • What is Function?

      3:42
    • return Command

      5:47
    • Getting Output From Function

      3:26
    • Function Parameters

      2:26
    • Variables in function

      4:40
    • Array

      7:31
    • Array and Function

      6:16
    • Introduction to sed

      7:30
    • -e option (multiple commands), -f option (commands in file)

      3:46
    • s command, Substitute command

      8:44
    • Address

      8:24
    • Address for multiple commands

      7:03
    • d command, Delete command

      5:47
    • i and a command, insert and append command

      5:02
    • Introduction to awk

      13:39
    • Multiple action/commands

      4:23
    • -f Option, program in file

      5:49
    • -F Option, field separator

      4:22
    • Variables and Data Field Variables

      10:44
    • BEGIN and END

      7:58

About This Class

Managing the system is very important activity for any organization business. Similarly all application require simple interface to use and big real time solutions require 24 hour support for lot of different tasks. This requires systematic way of doing the tasks to manage the systems and solutions efficiently. Big businesses require continuous improvement to manage these tasks efficiently. Linux and Unix system provides lot of commands to do all but at the same time it require automate as much possible to manage the operational tasks efficiently.

Shell scripting provides wonderful way to use the Linux and Unix system to automate the complex tasks in programmatic way. The shell script helps in lot of tasks - managing system, timely operations, production support for big solutions, release and update, interfaces for application. It provides all in a simple manner and easy to understand for any developer/admin, so that future maintenance is also easy.

I have used Fedora on Oracle Virtual Box as environment but it can be done on any Linux and Unix system with shell and small changes as applicable for that shell.

2

Students

--

Projects

0

Reviews (0)

Entrepreneur

Founder and Managing Director of Sonebhadra Technologies which provides software solutions and training.

Author

Author of best selling book on C language "C In Depth" and on Data Structures "Data Structures Through C In Depth".

C In Depth S K Srivastava, Deepali Srivastava BPB Publications Sold 110,000+ copies

Data Structures Through C In Depth S K Srivastava, Deepali Srivastava BPB Publications Sold 60,000+copies

Industry Experience

...

See full profile