Skip to main content

Learn Bash

Script the commands you would type in a terminal.

Bash is the default shell on most Linux systems and is available on macOS. You use it to run commands, move files and chain small programs into a script.

The editor runs your script on our server and shows the output.

Bash is the language of servers, deployment and daily development work. A short script often replaces a long list of commands you would otherwise type by hand.

Start here

First program: Print “Hello, world!” with echo, then write a for loop over three names.

There are no Bash lessons yet. The editor is free and needs no account.

Practice

Practice problemsRead a problem, write an answer and run it against the samples.

There are no shell exercises yet. The practice problems are programming questions; use the editor above for Bash.

Read more

Want the full programme with mentorship and placement? See the plans