Support my work
https://www.buymeacoffee.com/abhishekprd
Hi Everyone, Welcome back to my channel.
In this video, We will take a look at the Advanced or Part-2 of Shell Scripting and learn how to become a Hero in Linux and Shell Scripting.
Learn why Shell Scripting is used in DevOps and most commonly asked Interview Questions.
0:00 - Introduction
01:10 - What did we learn in Part-1 ?
02:00 - [DevOps Use-Case] How to analyze the health of a Node ?
04:00 - Sample Script for finding out Node Health
05:15 - Good Practices in writing a script
06:45 - Commands for Node health
07:30 - Execution of the Script but how to improve it ?
08:15 - Using Print/echo Statements to improve readibility
09:20 - set -x command to run script in debug mode
12:20 - What are processes, how to list them and find process ID ?
15:50 - grep and pipe commands to filter the output.
23:12 - IMPORTANT INTERVIEW QUESTION on PIPE.
28:10 - AWK command
30:30 - Summary on what did we learn till now
32:20 - set -e and set -o pipefail
32:58 - set -e in detail, how to exit when there is an error.
37:20 - set -o pipefail and why to use it ?
41:00 - [DevOps Use-Case] How to search errors in remote logfile.
47:00 - wget command and use-cases ?
48:00 - CURL vs WGET
49:00 - find command
53:00 - sudo and su commands
55:00 - if else
1:06:00 - for loops
About me:
-----------------
LinkedIn: https://www.linkedin.com/in/abhishek-veeramalla-77b33996/
GitHub: https://github.com/iam-veeramalla
Medium: https://abhishekveeramalla-av.medium.com/
YouTube: https://www.youtube.com/channel/UCnnQ3ybuyFdzvgv2Ky5jnAA?app=desktop .
.
Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.