Day04 Task: Basic Linux shellscripting for Devops Engineers.
I am learning about Devops and Devops Tools .
- Explain in your own words and with examples what Shell Scripting means for DevOps.
Linux Shell Scripting is a process of writing a commands for a shell in linux to automate task .
Automation: In DevOps, tasks like managing servers, setting up environments, or deploying applications often need to be done repeatedly. Shell scripts can automat.
System Administration: DevOps engineers often need to configure and monitor systems. Shell scripting helps by automating tasks like checking disk space, monitoring server health, and managing backups.e these tasks, making the entire process faster and more reliable.
CI/CD Pipelines: Shell scripts are frequently used in Continuous Integration/Continuous Deployment (CI/CD) pipelines to automate testing, build, and deployment processes.
What is
#!/bin/bash? Can we write#!/bin/shas well?#!/bin/bash is a shebang , It is bash shell and part of bin/sh means shell . Unix OS using #!/bin/bash .
Can we write
#!/bin/shas well?Yes! we can #!/bin/bash is bash (Bourne Again Shell) it is extra advance features than shell bin/sh they are Array, string, Manipulation ,and more .
Write a Shell Script that prints
I will complete #90DaysOfDevOps challenge.
Write a Shell Script that takes user input, input from arguments, and prints the variables.

Script :

Provide an example of an If-Else statement in Shell Scripting by comparing two numbers.

Script :
