Shell scripting
A shell script for DevOps can automate deployment or infrastructure tasks, such as deploying applications to servers, setting up cloud resources, or running tests.
What is
#!/bin/bash?
can we write#!/bin/sh
as well?sh
stands for "shell" and refers to the command-line interpreter program in Unix-like operating systems. It is a simple and portable shell that provides basic scripting capabilities.The full form of "Bash" is "Bourne Again SHell." It is a pun on the name of its predecessor, the Bourne shell (
/bin/sh
), which was one of the original Unix shells.- Write a Shell Script which prints
I will complete #90DaysOofDevOps challenge
- Write a Shell Script which prints
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.