🚀 Day 4: #90DaysOfDevOps Challenge
Day 4 Task: Basic Linux Shell Scripting for DevOps Engineers
Hello everyone! 👋 I’m excited to share my progress on Day 4 of my DevOps challenge! 🚀
Today’s focus was on Kernel, Shell, and Shell Scripting, fundamental concepts in Linux that play a crucial role in any DevOps journey. These topics are essential for understanding how Linux operates at its core and how to automate tasks efficiently.
Here’s a quick summary of what I learned today:
What is the Kernel?
The kernel is the core component of the Linux operating system, often referred to as the "heart" of the operating system.
What is the Shell?
The shell serves as the interface between users and the system.
What is Linux Shell Scripting?
Shell scripting is a programming language for writing scripts to automate repetitive tasks.
Tasks for Today
Task 1: Explain Shell Scripting for DevOps in Your Own Words with Examples.
→ Shell scripting is a way to write and execute a sequence of commands in a file to automate tasks. For DevOps, it is extremely useful because:
Recommended by LinkedIn
Task 2: What is #!/bin/bash, and Can We Use #!/bin/sh Instead?
In shell scripting, #!/bin/bash is a shebang that indicates the shell to be used for executing the script.
Key Difference:
Task 3 :- Write a Shell Script that prints I will complete #90DaysOfDevOps challenge.
1️⃣ Create the Script File
2️⃣ Write the Script
3️⃣ Make the Script Executable
4️⃣ Run the Script
Task 4 :- Write a Shell Script that takes user input, input from arguments, and prints the variables.
Task 5 :- Provide an example of an If-Else statement in Shell Scripting by comparing two numbers.
#90DaysOfDevops #TrainWithShubham #DevOpsEngineering #LinuxCommands #TechSkills #CodeNewbie #CloudComputing #ITAutomation #DevOpsTools #LearningPath #OpenSource #TechCommunity #SysAdmin #ITInfrastructure #CodingLife #TechGrowth #BashScripting #CommandLine #ProgrammingJourney #DevOpsCulture #90DaysOfDevops #TrainWithShubham