0% found this document useful (0 votes)
6 views9 pages

1.linux Shell Scripting Course

The document outlines a comprehensive Linux Shell Scripting course designed for DevOps and cloud professionals, consisting of 25 hours of instruction. It covers various topics including Bash scripting, variables, commands like grep and awk, file permissions, conditional statements, and debugging techniques. The course is offered at a fee of Rs. 2000 with two batch timings available.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views9 pages

1.linux Shell Scripting Course

The document outlines a comprehensive Linux Shell Scripting course designed for DevOps and cloud professionals, consisting of 25 hours of instruction. It covers various topics including Bash scripting, variables, commands like grep and awk, file permissions, conditional statements, and debugging techniques. The course is offered at a fee of Rs. 2000 with two batch timings available.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Course: Linux ShellScritping

(Exclusively for Devops and clouds)

Duration: 25hrs

Batch Timings
1) 9:30AM-10:30AM IST

2) 8:30PM-9:30PM IST

FEE: Rs.2000
Lecture-1: Introduction

1. Introduction to Bash Shell Scripting with simple & complicate


examples

2. Steps to execute Bash Shell Scripts


3. Comments - Single Line Comments and Multiline comments
4. Types of Shells
5. How to check current shell and default shell
6. Difference between shell script and programming language
7. Running a shell script
8. Creating a shell script

Lecture-2: Variables

1. What is a Variable?, How to define a variable without an error ?


2. How to use variables in shell scripts?
3. Displaying Variable Value with echo&cat commands
4. Assigning one variable value to another
5. How to Assign Output of a Linux Command to a Variable?
6. Rules to define variable names
7. Type of Variables
Lecture-3: Complete echo Command

1. simple echo command for variables


2. echo command usage for any linux commands
3. read command usage
4. How to take input from the user with read

Lecture-4: cut command


1. Introduction to cut command
2. Advanced usage of cut commdan

Lecture-5: grep command

1. Introduction to grep
2. Advanced usage of grep command
3. Shell Script to find the ansible version with the
help of grep & cut commands
4. grep, egrep, fgrep in detail
5. wild card characters, anchors, identifiers, meta characters

Lecture-6: HereDoc & HereStrings

1 .HereDocument
2. HereString

Lecture-7: Redirection operators


1. STDIN, STDOUT, and STDERR usage
2. Usage of Redirection operators with nginx version examples

Lecture-8: Mailx Command Usage

1. Configuring Mailx Command


2. Simple Shell Script to Email java,git,ansible versions
Lecture-9: Working with ffiles &
directories

1. How to create a file with multiple options


2. Creating directory

Lecture-10: Working with copy, move,


delete, rename

1. How to copy and delete files and directory


2. How to move and rename files and directories

Lecture-11: Working with Text editors


(vi, nano)

1. vi editor in detail
2. what is command mode, insert mode, colon mode
3. Command mode commands
4. colon mode commands

Lecture-12: Working with other ffilter


commands

1. head and tail command


2. tr command
3. paste command
4. sort and uniq commands
5. How to use filter commands in shell script
Lecture-13: Test Command | Commands Chaining

1. Test Command Usage with comparison and file test operators


2. Commands Chaining
3. File test commands with multiple use cases
4. File test commands options

Lecture-14: File permissions


1. What is file permissions and why its imp for shell script
2. chmod command

Lecture-15: Operators in shell script

1. How to copy and delete files and directory


2. How to move and rename files and directories1. Arithmetic operations
2. Relational operators
3. Logical operators
4. Range operator

Lecture-16: Conditional statements


1. Simple if Conditional Statement
2. If-else statement
3. If-elif statement
4. Case statement
5. Nested if
6. switch case with multiple menu programs
7. Shell Script to use if Conditional statement with java, git, and nginx versions

Lecture-17: Providing Inputs for Shell Scripts


1. Shell Script to install a git package
2. Shell Script to install any package - make use of read & command line arguments
3. Logic to handle inputs
- Script to handle input with read
- Script to handle inputs with command line arguments
Lecture-18: AWK Command

1. Introduction to AWK Command


2. Advanced Usage of AWK Command
3. Modify the "Shell Script to find the ansible version with the help of
grep and cut commands" and use only awk command

Lecture-19: Real Time Practice - 1

1. Send Email Report on DevOps Tools Version Info

2. Send Email Alert when Any Service is Down

3. Send Email Alert When File System Usage crosses Threshold limit

4. Send Email Alert when Logs are not generating under xyz directory

Lecture-20: Scheduling Jobs


1. at
2. crontab

Lecture-21: Logging

1. Add Logging to "Send Email Report on DevOps Tools Version Info”

Lecture-22: Functions

1. Introduction to Functions
2. Passing Parameters to Functions
3. Global and Local Variables
4. Develop Functions concept to 'Add Logging to "Send Email Report on
DevOps Tools Version Info"'
Lecture-23: Loops

1. Shell Script to install multiple packages


2. Introduction to loops - for loop
3. Use loops concept to 'Shell Script to install multiple packages’
4. Different Types of Loops: for , while, select
5. While loop to work with csv files
6. Continue and break statements

Lecture-24: Arrays

1. Introduction to Arrays
2. Usage of Arrays in Shell Scripts
3. Creating Arrays from the command output

Lecture-25: Working with Remote Servers

1. what is ssh
2. Usage of sshpass
3. Usage of except

Lecture-26: curl & Jq Commands

1. Usage of curl command


2. Executing REST APIs with Curl Command
3. Capturing the http(s) status code using curl command
4. Jq Command
5. Parsing JSON Data Using Jq Command
Lecture-27: command line arguments

1. Understating command line arguments


2. what is $?
3. What is $ , $* , $@

Lecture-28: Devops tools

Lecture-29: export command

1. export command usage for variables


2. creating variables with source command

Lecture-30: complete printf command


1. Simple printf command for variables
2. Printf command usage for any linux commands

Lecture-31: Debugging and Error Handling

1. Debugging shell scripts


2. Handling errors and exceptions
3. Exit status and error codes

You might also like