Bourne-again shell (Bash)

The Bourne-again shell, almost always referred to simply as "Bash", interprets and executes input entered from a source such as the user or a program. Bash is an implementation of the shell concept and is often used during Python software development as part of a programmer's development environment.

Bourne-again shell (Bash) logo.

Bash is an implementation of the shells concept. Learn more in the development environments chapter or view the table of contents for all topics.

Bash resources

  • Bash Guide for beginners is an entire book for those new to working with commandlines. It covers commands, paths, Bash shell scripting, variables and many other critical topics that are necessary to move from beginner to advanced Bash user.

  • Advancing in the Bash shell covers important concepts such as bang syntax, movement commands, tab completion and aliases.

  • Mastering Bash and Terminal shows methods for repeating commands, changing directories and handling background processes.

  • Ten Things I Wish I’d Known About Bash covers some edge cases that are very useful to know about such as proper exit code usage and configuration options through the set command. There is also a great follow up post called Ten MORE Things I Wish I'd Known About Bash that covers new topics such as on-the-fly command re-execution using the carrot character.

  • Google's Shell Style Guide covers how to write consistent, maintainable shell scripts, which is particularly important if you have ever tried to debug a hacky shell script that was never meant to be used by anyone other than the original author.

  • Safe ways to do things in bash shows you how to not shoot yourself in the foot by using safe coding practices with your shell scripts.

What do you want to learn about Python development?

What editor should I use to code my Python app?

I've built a Python web app, now how do I deploy it?

Tell me about standard relational databases.

Sign up for a monthly email with Full Stack Python tutorials. No spam ever.

Matt Makai 2012-2018