What is Bash and use cases of Bash?
What is Bash? Bash is a command processor that generally runs in a text window where the user types commands that cause actions. It is the default…
Shell script to add and commit in 10 files at a time and push
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
AWS Tutorials: AWS CodeBuild – Buildspec code for creating AMI from running instances
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Aws: user data commands run in each ec2 instance in sequential not parallel
AWS Approach: aws ec2 instance user data to make sure commands run in each ec2 instance in sequential not parallel Approach # 1 To ensure that commands…
Shell Scripting Tutorials: Special variables
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Shell Scripting Operators
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Bash/Shell Script to test SMTP SES Credentials
Requirement Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have…
Shell script to git add and commit and push each directory at a time
This script will loop through each directory in the repository, checking if it is a Git repository. If it is, it will add all changes in the…
Shell Scripting Tutorials: Looping & Iteration statatement using for loop
Loops are a programming construct which allow us to repeat a command or set of commands for each item in a list. As such they are key to…
Shell Scripting Tutorials: Looping & Iteration statatement using while
The bash while loop is a control flow statement that allows code or commands to be executed repeatedly based on a given condition. Most languages have the…
Shell Bash Scripting: Assignment & Excercise – 14
Write a Shell Bash Script for convert Decimal Number to Binary Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing…
Shell Bash Scripting: Assignment & Excercise – 13
Write a Shell Bash Script for test if a number being entered is a Fibonacci or not Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and…
Shell Bash Scripting: Assignment & Excercise – 12
Write a Shell Bash Script for check if a number is prime or not Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert…
Shell Bash Scripting: Assignment & Excercise – 11
Write a Shell Bash Script for check if a provided number is Armstrong or not Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering…
Shell Bash Scripting: Assignment & Excercise – 10
Write a Shell Bash Script for check if a number input from standard input is odd or even Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud,…
Shell Bash Scripting: Assignment & Excercise – 9
Write a Shell Bash Script for show CPU temperature Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge,…
Shell Bash Scripting: Assignment & Excercise – 8
Write a Shell Bash Script for show hardware information for systems Linux Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about…
Shell Bash Scripting: Assignment & Excercise – 6
Write a Shell Bash Script for gather information related to server Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing…
Shell Bash Scripting: Assignment & Excercise – 5
Write a Shell Bash Script for check if the disk space crosses the limit Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert…
Shell Bash Scripting: Assignment & Excercise – 2
Write a Shell Bash Script for evaluate the status of a file/directory. Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about…
Shell Bash Scripting: Assignment & Excercise – 1
Write a Shell Script for output a specified directory’s size. Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical…
Shell Bash Scripting: Assignment & Excercise – 16
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Shell Bash Scripting: Assignment & Excercise – 15
Write a Shell Bash Script for Get location of an IP address. Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about…
Shell Bash Scripting: Assignment & Excercise
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Shell Bash Scripting Interview Questions and Answer
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Shell Scripting Tutorials: Conditional statatement using if
Conditional Statements: There are total 5 conditional statements which can be used in bash programming if statementif-else statementif..elif..else..fi statement (Else If ladder)if..then..else..if..then..fi..fi..(Nested if)switch statement Here are some…
DevOps – SRE – DevSecOps – MDE Assignment & Project
Day 1 – What is DevOps and compare with SRE and DevSecOps? Day 2 – Docker Assignment for Interview Preparations Day 3 – Linux Lab & Assignment…
Shell script to Enable ssh password authentication in Linux
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Linux Tutorials: 51 commands for daily use
This article provides practical examples for 51 most frequently used commands in Linux This is by no means a comprehensive list, but it should give you a…
Shell Bash Scripting Interview Questions and Answer – Part 4
Bash Scripting is a powerful a part of system administration and development used at an extreme level. It’s utilized by the System directors, Network Engineers, Developers, Scientists,…
