Linux Shell Scripting Online Training
Linux Shell Scripting Online Training Basic to Advanced
Duration:- 30 Days Only
Please send your inquiries to my email: venkat.mr369@gmail.com.
Session-1: Introduction
1. Introduction to Bash Shell Scripting with simple & complicated 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
Session-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
Session-3: variables
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
Session-4: Cut command
1. Introduction to cut command
2. Advanced usage of cut command
Session-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
Session-6: HereDocument & HereString
1 .HereDocument
2. HereString
Session-7: Redirection Operators
1. STDIN, STDOUT, and STDERR usage
2. Usage of Redirection operators with nginx version examples
Session-8: Mailx Command Usage
1. Configuring Mailx Command
2. Simple Shell Script to Email java,git,ansible versions
Session-9: Working with files & directories
1. How to create a file with multiple options
2. Creating directory
Session-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
Session-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
Session-12: Working with other filter 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
Session-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
Session-14: File permissions
1. What is file permissions and why its imp for shell script
2. chmod command
Session-15: Operators in shell script
1. How to copy and delete files and directory
2. How to move and rename files and directories
3. Arithmetic operations
4. Relational operators
5. Logical operators
6. Range operator
Session-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
Session-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
4. Script to handle input with read
5. Script to handle inputs with command line arguments
Session-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
Session-20: Scheduling Jobs
1. at
2. crontab
Session-21: Logging
1. Add Logging to "Send Email Report on DevOps Tools Version Info”
Session-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"'
Session-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
Session-24: Arrays
1. Introduction to Arrays
2. Usage of Arrays in Shell Scripts
3. Creating Arrays from the command output
Session-25: Working with Remote Servers
1. what is ssh
2. Usage of sshpass
3. Usage of except
Session-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 Jq Command
4. Parsing JSON Data Using Jq Command
Session-27: command line arguments
1. Understating command line arguments
2. what is $?
3. What is $ , $* , $@
Session-28: Real Time Practice – 2
Session-29: export command
1. export command usage for variables
2. creating variables with source command
Session-30: complete printf commands
1. Simple printf command for variables
2. Printf command usage for any Linux commands
Session-31: Debugging and Error Handling
1. Debugging shell scripts
2. Handling errors and exceptions
3. Exit status and error codes