The newline Guide to Bash Scripting

Bash is the most popular shell and here we'll teach you popular tools, techniques, pitfalls and workarounds. Bash is simple to get started with, hard to master, and you can do incredible things with a line or two – inside we'll teach you how.

  • 4.2 / 5 (10 ratings)
  • Published
  • Updated
Video Lessons

0 Videos

Course Instructor
How The Course Works


You can take the course from anywhere in the world, as long as you have a computer and an internet connection.


Learn at your own pace, whenever it's convenient for you. With no rigid schedule to worry about, you can take the course on your own terms.


Join a vibrant community of other students who are also learning with The newline Guide to Bash Scripting. Ask questions, get feedback and collaborate with others to take your skills to the next level.


Learn in a cohesive fashion that's easy to follow. With a clear progression from basic principles to advanced techniques, you'll grow stronger and more skilled with each module.

Course Overview

What you will learn
  • How to find help on arbitrary commands

  • How to create robust, maintainable scripts

  • The importance of error handling settings

  • How to use many popular tools

  • What Bash is good and bad at

Bash is everywhere. It has grown to be the most popular shell on *nixes – including Mac OS X and Windows Subsystem Linux (WSL).

The newline Guide to Bash Scripting is an exploration of the Bash shell, scripting language and related tools. It’s aimed at developers who want to get the job done right the first time, and make sure maintenance is a breeze. Topics include:

  • how to find help on arbitrary commands
  • how to structure a robust and maintainable script
  • editing commands and interacting with the terminal efficiently
  • tools for dealing with version control, JSON, XML, text encodings, images and compressed files
  • quality assurance
  • … and much more

The goal of this book is to give you the tools and techniques to write Bash scripts which will stand the test of time, and to give you the means to explore the vast shell scripting ecosystem to find the tools you need right now.


Bash is the Linux glue language, so this book is aimed at software developers mainly working in some other language. We assume that you have working knowledge of programming concepts like variable assignments, loops and files, and at least a passing familiarity with interactive shells.

If you're comfortable with web development, but not–so–comfortable on the commandline then this course is perfect for you.

Our students work at


Course Syllabus and Content

Module 4

Editing Commands and Scripts

2 Lessons

Module 11


3 Lessons

Module 14

Archiving and Compression

5 Lessons

Module 19

Quality Assurance

3 Lessons

Module 21


3 Lessons

Module 22

Summary and Changelog

2 Lessons

What Students are Saying

        Meet the Course Instructor

        Victor Engmark

        Victor Engmark

        👋 My name is Victor Engmark. I have been a software developer since 2004, free and open source software contributor since 2007, Stack Overflow & Stack Exchange contributor since 2009, and a Bash user since 2010. I’ve spent thousands of hours reading about Bash, answering questions about Bash and, most importantly, writing Bash for use in production systems.

        Purchase the course today

        One-Time Purchase

        Get lifetime access to this course

        $39$49$10.00 off
        The newline Guide to Bash Scripting
        • Discord Community Access
        • Full Transcripts
        • Money Back Guarantee

        newline Pro Subscription


        Get unlimited access to the course, plus 60+ newline books, guides and courses. Learn More

        The newline Guide to Bash Scripting

        Billed annually or $30/mo billed monthly. Free to cancel anytime.

        • Discord Community Access
        • Full Transcripts
        • Money Back Guarantee


        • Unlimited access to 60+ newline Books, Guides and Courses
        • Interactive, Live Project Demos for Every newline Book, Guide and Course
        • Complete Project Source Code for Every newline Book, Guide and Course
        • Best Value 🏆

        Frequently Asked Questions

        Who is this course for?

        This book is aimed at software developers mainly working in some other language who want to get better at using the CLI and writing Bash Scripts.

        What if I need help?

        You can ask us questions anytime through the community Discord channel.

        The newline Guide to Bash Scripting