DEV Community

Cover image for Linux Shell Scripting for DevOps: A Beginner's Guide

Linux Shell Scripting for DevOps: A Beginner's Guide

Arbythecoder on November 09, 2023

Introduction Hello there! Do you remember our last conversation about mastering Git? Now, it's time to delve into a more exciting part of your Dev...
Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

Dunno if this is a me thing, or worth mentioning in the article, but it took me quite a while to get used to not putting spaces around the = when defining variables.

Also, any plans on making a more advanced guide too?

Collapse
 
jihedkdiss profile image
Jihed Kdiss

I did quick research and apparently the preferred way to use = in bash is without spaces unlike many other languages. Even though it's not explicitly mentioned here, you can see that Google themselves have used variable=value so many times in their official code style guide.

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

It's not just preferred, you actually can't put spaces around the =

Thread Thread
 
arbythecoder profile image
Arbythecoder

Thank you for the observation and thank you for reading 😊

Collapse
 
arbythecoder profile image
Arbythecoder

Well noted, thank you for reading 💪

Collapse
 
arbythecoder profile image
Arbythecoder

it's just for the article's sake but thanks for the observation, well noted .
Yes, I am working on advanced guide too. Thank you for reading 😊

Collapse
 
guinuxbr profile image
Guilherme L. Leite Marques

Nice article. It is a good idea to use fenced code blocks rather than screenshots for accessibility. Screenshots make things more difficult for people who use screen readers. Other than that, fenced code blocks are easy to copy and paste and, therefore, test the proposed code.

Collapse
 
arbythecoder profile image
Arbythecoder

Thank you so much, duly noted.

Collapse
 
jihedkdiss profile image
Jihed Kdiss

This is a good and straightforward tutorial, Good job Arby! However the title is a bit misleading since you didn't mention any DevOps specific commands.

Collapse
 
arbythecoder profile image
Arbythecoder

Thank you so much, I am glad you found it valuable 🙏

Collapse
 
muthukumark98 profile image
MuthuKumar

Awesome explanation 😸 thanks 🙏

Collapse
 
arbythecoder profile image
Arbythecoder

Thank you 👍 I'm glad you find my article valuable

Collapse
 
taijidude profile image
taijidude

Good Stuff. Thank you for sharing.

Collapse
 
icolomina profile image
Nacho Colomina Torregrosa

great !

Collapse
 
pxlmastrxd profile image
Pxlmastr

Can I ask where you download MINGW64? I just can't find where to download it.

Collapse
 
arbythecoder profile image
Arbythecoder
Collapse
 
pxlmastrxd profile image
Pxlmastr

Oh my gosh, thank you so much! You just made my day

Collapse
 
emma32 profile image
emma devid

Great article! Utilizing fenced code blocks instead of screenshots is a smart move for accessibility. Screenshots pose challenges for those using screen readers. Additionally, fenced code blocks are user-friendly, allowing for easy copying, pasting, and testing of the provided code.

Collapse
 
sc0v0ne profile image
sc0v0ne

Simple and amazing !!!

Collapse
 
lucasgrocha profile image
Lucas Rocha

I'm not a DevOps guy, but I loved this!

Collapse
 
arbythecoder profile image
Arbythecoder

I am happy to hear this! Thank you so much

Collapse
 
taqui_786 profile image
TAQUI ⭐

Nice Post

Collapse
 
rijultp profile image
Rijul Rajesh

Nice article, Straight to the point!

Collapse
 
abhixsh profile image
Abishek Haththakage

Awesome explanation!!

Collapse
 
virginiaslifer profile image
VirginiaSlifer

This next step in the DevOps journey promises to be both challenging and rewarding. Tiger exchange