Basic Linux Shell Scripting for DevOps Engineers

Akash VyawahareAkash Vyawahare
1 min read

Linux Architecture Components :

  1. Applications / Commands

  2. Shell

  3. Kernel

  4. Hardware components

What is shell ?

Shell acts as mediator between user and kernel , shell is responsible to process the commands.

What is Kernel ?

Kernel is heart of Linux OS , kernel is mediator between shell and Hardware components.

Scripting?

Scripting means set of commands we are keeping in file for execution.

scripting is used to automate our daily routine work.

What is Shell Scripting ?

The process of executing script files using shell is called as shell scripting.

We are using shell scripting to automate our daily routine works in projects

ex : taking daily backup, analyze log files, delete temp files, etc.

Task 1 : What is #!/bin/bash?

#!/bin/bash - it is called as she-bang line

Task 2 : Write a Shell Script that prints I will complete #90DaysOfDevOps challenge.

Task 3 : Write a Shell Script that takes user input, input from arguments, and prints the variables.

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

Feeling more empowered with Linux now? 💪 Keep pushing your boundaries and exploring new ways to enhance your skills! Stay tuned for more exciting tasks ahead!

0
Subscribe to my newsletter

Read articles from Akash Vyawahare directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Akash Vyawahare
Akash Vyawahare