Newline Image

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 (11 ratings)
  • Published
  • Updated
Course Instructor
How The Course Works

01Remote

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

02Self-Paced

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.

03Community

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.

04Structured

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.

Audience

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.

Newline Image

Our students work at

  • salesforce-seeklogo.com.svgintuit-seeklogo.com.svgAdobe.svgDisney.svgheroku-seeklogo.com.svgAT_and_T.svgvmware-seeklogo.com.svgmicrosoft-seeklogo.com.svgamazon-seeklogo.com.svg

Course Syllabus and Content

Module 1

Introduction

7 Lessons

Module 4

Editing Commands and Scripts

2 Lessons

Module 11

JSON

3 Lessons

Module 14

Archiving and Compression

5 Lessons

Module 19

Quality Assurance

3 Lessons

Module 21

Autocompletion

3 Lessons

Module 22

Summary and Changelog

2 Lessons

Subscribe for a Free Lesson

By subscribing to the newline newsletter, you will also receive weekly, hands-on tutorials and updates on upcoming courses in your inbox.

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

        The newline Guide to Bash Scripting

        $69$79$10.00 off
        The newline Guide to Bash Scripting
        • Learn to use the CLI
        • Automate repetitive tasks
        • Build powerful one-liners without writing code
        • Discord Community Access
        • Full Transcripts
        • Money Back Guarantee
        • Lifetime Access

        newline Pro Subscription

        $18/MO

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

        The newline Guide to Bash Scripting

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

        • Discord Community Access
        • Full Transcripts
        • Money Back Guarantee
        • Lifetime Access

        Plus:

        • 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.

        Newline Image

        The newline Guide to Bash Scripting

        $69

        $79