For Linux Users
Published in

For Linux Users

Four Tips for Better Bash Scripts

Plan, Test, Build GUIs, and Compile!

Photo by Catherine Ari Harthiany on Unsplash

If you are writing a shell script for yourself, that’s pretty easy. You’ll remember if you need to not have spaces in file names and you know all the programs your script needs are in place and the correct version. But if you are sending your script out into the world, that’s a different problem. Here are four tips to help you write better and more robust scripts.




If you use Linux from the command line or from a GUI, we want to help you get the most from it. Look for tutorials, software reviews, and more. Using WSL or Cygwin? We got you covered. Some software topics will apply to any platform (e.g,. Chrome, Google Docs, etc.).

Recommended from Medium

Let’s talk about procrastination and imposter syndrome.

Working with deployments in kubernetes : Updates and rollbacks

4 Lessons Learned From Optimizing Our 100B-daily-events Web Handlers

Python and Spreadsheets are Joining Together

The Power of Learning Over and Over Again

Kinsta vs WPEngine: Who is faster?

Be careful with Kotlin Scope Functions

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Al Williams

Al Williams

Engineer. Author. Team Leader. Lots of other things. I blog about hardware hacking for Hackaday (, but talk about other topics here.

More from Medium

Using SSH in a secure and convenient way

5 Linux command lines you must know

5 Linux Commands You Should Memorize If You Manage Servers

30 Basic Linux Commands every DevOps/SRE Engineer Should know.