Shell scripting is the practice of creating and writing scripts using a shell, which is a command-line interface for interacting with an operating system. The most commonly used shell on Unix-like systems is the Bash shell (Bourne Again SHell). Shell scripts are a powerful way to automate tasks, execute commands, and perform various operations on a Unix or Linux system.
Shell
Shell typically refers to a command-line interface (CLI) that provides a way for users to interact with an operating system or software by entering text-based commands. Shells act as an intermediary between the user and the underlying system, allowing users to execute commands and perform various tasks.
Kernel
The kernel is a computer program that is the core of a computer’s operating system, with complete control over everything in the system.
How is Shell scripting different from traditional programming?
Shell scripting and traditional programming serve different purposes and are suited for different tasks. Shell scripting is designed for automating system-related tasks and working with the command line, while traditional programming involves building complete software applications with a broader range of features and complexity. The choice between them depends on the specific requirements of the task at hand.
Here are some tasks for you:-
Explain in your own words and examples, what is Shell Scripting for DevOps.
What is
#!/bin/bash?
can we write#!/bin/sh
as well?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.
_______________________________________________________________________________
Day 4 of #90daysofDevOps
Follow me for more about DevOps♾️........
________________________________________________________________________________
#90daysHardChallenge
#Linux
#cloudcomputing
#shellscripting
#TrainWithShubham