Day 4 - Basic Linux Shell Scripting for DevOps Engineers

👋 Hey there! I'm Gayatri, I have completed a degree in Computer Engineering. I am extensively involved in the fields of DevOps and Cloud computing.
➡What is Kernel?
The kernel is the part of the operating system that helps software and hardware work together.
➡What is Shell?
A shell is a program that helps you use the computer by typing commands. It acts as a middleman between you and the operating system.
➡What is Linux Shell Scripting?
Linux shell scripting means writing a set of commands in a file so the computer can run them one by one.
So it can do tasks automatically without you doing everything by hand.
➡Day 4 - Task
Explain in your own words and examples, what is Shell Scripting for DevOps.
Linux shell scripting means writing a set of commands in a file so the computer can run them one by one. So it can do tasks automatically without you doing everything by hand.
What is
#!/bin/bash?can we write#!/bin/shas well?The line
#!/bin/bashor#!/bin/shat the very top of a script is called the shebang line (also known as hashbang)./bin/bashmeans: Use the bash shell to run this script. Bash is the most commonly used shell in Linux./bin/shmeans: Use the default shell on this system to run the script. This could be sh, bash, or another shell depending on the system.Write a Shell Script which prints
I will complete #90DaysOofDevOps challenge


Write a Shell Script to take user input, input from arguments, and print the variables.




- Write an Example of If else in Shell Scripting by comparing 2 numbers.


Thank you for reading! :)




