What’s the Best Way to Learn Bash Scripting for Linux?

0
9
Asked By TechieNinja42 On

I'm looking to learn Bash scripting for Linux and I'm wondering what the best online resources are for this. I already have some background in C++ and I'm at an intermediate level in Python. My goal is to automate tasks like file handling. I've found a site called Linux Journey that seems helpful, but I have a few more questions. Is Bash scripting similar to C++, or is it more challenging? Thanks in advance for your advice!

5 Answers

Answered By CodeGuru77 On

One great resource for practicing Bash, although it's not specifically tailored to cybersecurity, is Exercism. It offers challenges that can help you get hands-on experience with Bash scripting. Compared to C++, I'd say Bash is easier to pick up. It's primarily designed for scripting and automating tasks, not for building full-fledged applications.

Answered By DevExplorer88 On

Honestly, the best way to learn Bash is just to dive in and start doing it. Watching videos or reading books can only take you so far. Try to automate some shell commands and experiment with solving real problems. Everyone's approach to 'learning Bash' is different, so find what works best for you!

Answered By Pythonista85 On

You might enjoy the YouTube channel "you suck at programming". It has some quirky content, but it’s entertaining and informative. Just ignore the channel name; the creator actually regrets that choice!

Answered By ScriptingWhiz On

If you're looking for some structured content, the Linux Command site has a great section on writing shell scripts that might be worth checking out.

Answered By BashMaster98 On

And just a tip: remember that Bash commands are typically written in lowercase, so try to keep that in mind as you start scripting!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.