DEV Community

Aman Deol
Aman Deol

Posted on

Week 2 in DevOps: From Linux Basics to Shell Scripting

Hello again! It’s been one week since I started my DevOps journey, and I’m excited to share my progress. After spending the first week getting comfortable with Linux basics, I’ve now moved on to shell scripting. Here’s a look at what I’ve learned so far and my first experiences with scripting.

Recap of Linux Basics
In Week 1, I focused on learning the essential Linux commands, which has made navigating the command line much easier. Commands like ls, cd, and chmod now feel more natural, and they’re already helping me work more efficiently in Linux.

Entering the World of Shell Scripting
This week, I’ve been diving into shell scripting, a critical skill for anyone in DevOps. Shell scripts allow you to automate tasks that would otherwise be manual and repetitive. Here are some highlights from my scripting practice:

Basic Script Structure: I learned how to create, execute, and structure a basic script. It’s amazing how a few lines of code can automate tasks.
Variables and Loops: Using variables, for loops, and while loops, I’ve
started experimenting with scripts that perform tasks multiple times,
like batch renaming files or performing repeated actions.
Conditional Statements: Simple if and else statements help create logic
in scripts. This feels like the start of real programming and opens up
a lot of possibilities for automation.
Challenges and Wins
One of my biggest challenges so far has been understanding syntax and
troubleshooting errors. But the excitement of automating my first tasks
makes it worth it. My first successful script was a simple backup
routine for copying files from one folder to another, which felt like a
huge win!

What’s Next?
I’m planning to continue with shell scripting in the coming week, diving deeper into more advanced concepts and creating more complex scripts. I’ll also start exploring how scripting fits into automating DevOps workflows.

Top comments (2)

Collapse
 
shivajee98 profile image
SHIVAJEE

Congrats, keep it up bro.

Collapse
 
amandeol063 profile image
Aman Deol

Thanks