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
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.
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.
Our students work at
Course Syllabus and Content
Introduction
7 Lessons
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Free
- Free
Self–Help
7 Lessons
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
Running Scripts
3 Lessons
- Sneak Peek
- Sneak Peek
- Sneak Peek
Editing Commands and Scripts
2 Lessons
- Sneak Peek
- Sneak Peek
Copying and Pasting
6 Lessons
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
Listing Files
3 Lessons
- Sneak Peek
- Sneak Peek
- Sneak Peek
Math
7 Lessons
- 01MathSneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
JSON
3 Lessons
Archiving and Compression
5 Lessons
- Sneak Peek
- Sneak Peek
- Sneak Peek
- 04ZipSneak Peek
- Sneak Peek
From the Terminal to Production
8 Lessons
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
Fail–Fast Settings
6 Lessons
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
- Sneak Peek
Quality Assurance
3 Lessons
- Sneak Peek
- Sneak Peek
- Sneak Peek
Signals
3 Lessons
- Sneak Peek
- Sneak Peek
- Sneak Peek
Autocompletion
3 Lessons
- Sneak Peek
- Sneak Peek
- Sneak Peek
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
Purchase the course today
newline Pro Subscription
$18/MO
Get unlimited access to the course, plus 60+ newline books, guides and courses. Learn More
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.