
Hello there! I'm FARHAN SHAMIM, a passionate DevOps enthusiast and an aspiring blogger. I recently entered the exciting world of DevOps, and I'm eager to share my experiences and insights with the community through my blog.
As a DevOps fresher, I have a strong foundation in software development and operations. I possess a solid understanding of various DevOps principles, tools, and methodologies. My goal is to bridge the gap between development and operations teams, streamlining processes, and fostering collaboration to deliver high-quality software solutions efficiently.
Throughout my educational journey, I gained hands-on experience with popular DevOps tools such as Git, Jenkins, Docker, Kubernetes, and Ansible. I have a deep understanding of continuous integration and delivery pipelines, infrastructure automation, configuration management, and cloud platforms like AWS, Azure, and Google Cloud.
My curiosity and passion for technology drive me to stay updated with the latest industry trends and advancements. I am always eager to learn new technologies and expand my skill set. I thrive in dynamic environments that encourage innovation and value a proactive approach to problem-solving.
Alongside my DevOps journey, I have discovered my love for writing. Blogging provides me with a platform to express my ideas, share my knowledge, and contribute to the larger DevOps community. Through my blog, I aim to provide valuable insights, tutorials, best practices, and tips for fellow DevOps professionals, as well as beginners looking to explore this fascinating field.
I believe in the power of collaboration and community engagement. I actively participate in DevOps forums, attend meetups, and engage with like-minded professionals to foster knowledge exchange and build meaningful connections.
Join me on my DevOps journey through my blog, where I'll share practical tutorials, real-world experiences, and thought-provoking articles. Together, let's embrace the DevOps culture, foster innovation, and empower organizations to achieve continuous improvement and delivery excellence.
Feel free to connect with me through my blog, social media channels, or email. I'm always open to collaborations, discussions, and opportunities to learn and grow together. Let's make a positive impact on the DevOps community and beyond!
What is a shell?
In short, a shell is a program that acts as a user interface to interact with an operating system. It allows users to execute commands, access system utilities, and manage processes. Shells can provide a command-line interface (text-based) or a graphical user interface (GUI) to interact with the system. They interpret user commands and communicate with the operating system's kernel to execute them.
What is a kernel?
In short, a kernel is the core component of an operating system that manages system resources, facilitates communication between software and hardware, and provides essential services. It controls processes, memory, devices, and file systems, ensuring the proper functioning of the computer system.
Linux Shell Scripting for DevOps
Shell scripting for DevOps refers to the practice of using shell scripts to automate and streamline various tasks and processes involved in DevOps practices. DevOps aims to enhance collaboration between development and operations teams, promoting faster software development, continuous integration, and delivery. Shell scripting plays a crucial role in achieving these goals by automating repetitive tasks, managing infrastructure, deploying applications, and facilitating system configurations.
What is #!/bin/bash? can we write #!/bin/sh as well?
The #!/bin/bash or shebang line is a special comment placed at the beginning of a shell script. It specifies the interpreter that should be used to execute the script. In this case, #!/bin/bash indicates that the script should be interpreted and executed by the Bash shell. Bash is a widely used shell with additional features compared to the standard Bourne shell (#!/bin/sh). While both can be used, Bash is preferred for its expanded functionality and compatibility with a wide range of Linux distributions.
Write a Shell Script that prints I will complete #90DaysOofDevOps challenge
Example of a Shell Script that prints "I will complete #90DaysOfDevOps challenge":
#!/bin/bash
echo "I will complete #90DaysOfDevOps challenge"
This script starts with the shebang line #!/bin/bash and uses the echo command to print the desired message.
Write a Shell Script to take user input, input from arguments and print the variables.
Example of a Shell Script that takes user input, input from arguments, and prints the variables:
#!/bin/bash
echo "Enter your name:"
read name
echo "Your name is: $name"
echo "First argument: $1"
echo "Second argument: $2"
$ ./new_shell.sh zeba rashid
Enter your name:
farhan shamim
Your name is: farhan shamim
First argument: zeba
Second argument: rashid
This script prompts the user to enter their name using the read command. It then prints the name using the variable $name. The script also demonstrates how to access command-line arguments, where $1 represents the first argument passed to the script and $2 represents the second argument.
Write an Example of If else in Shell Scripting by comparing 2 numbers
Example of If-Else in Shell Scripting by comparing two numbers:
#!/bin/bash
num1=10
num2=5
if [ $num1 -gt $num2 ]; then
echo "num1 is greater than num2"
elif [ $num1 -eq $num2 ]; then
echo "num1 is equal to num2"
else
echo "num1 is less than num2"
fi
In this script, we compare num1 and num2 using if-else statements. The -gt operator checks if num1 is greater than num2, the -eq operator checks for equality, and the else statement handles the case when num1 is less than num2. The corresponding message is printed based on the comparison result.

Get Connected:
If you have any suggestion about this post feel free to let me know and be updated on my blog in the following ways:
#TrainWithShubham #DevOps #chatgpt #AI #devops #devopsengineer #devops2023 #devopscommunity #devopslife #devopsnotes #DevOpsGuys #DevOpsHandbook #devopsinuk #shellscript #linux




