Shell Scripting for DevOps | Zero 2 Hero Part-2 | Shell Scripting Interview Q&A |

Publié le: 01 décembre 2022
sur la chaîne: Abhishek.Veeramalla
185,510
4.4k

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:   / abhishek-veeramalla-77b33996  
GitHub: https://github.com/iam-veeramalla
Medium:   / abhishekveeramalla-av  
YouTube:    / @abhishekveeramalla   .
.
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.


Sur cette page du site, vous pouvez voir la vidéo en ligne Shell Scripting for DevOps | Zero 2 Hero Part-2 | Shell Scripting Interview Q&A | durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Abhishek.Veeramalla 01 décembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 185,510 fois et il a aimé 4.4 mille téléspectateurs. Bon visionnage!