
Learn practical bash basics for cloud computing, focusing on essential commands and tips, and how to use the text-based shell for files, programs, and scripts.
Learn to leverage terminal history to recall and reuse commands: scroll through history, use !! and !string, run specific entries, and search with ctrl-r to edit and re-execute.
turn bash commands into small scripts to automate repetitive tasks, use a bin directory, the shebang line, and executable permissions to run a hello world example.
Define and use bash variables in scripts, call them with a dollar sign, and echo their values. Use read to capture user input and reuse it in outputs.
Explore bash conditionals with if statements, the if-then-else-fi structure, and test expressions in [ ], using operators, illustrated by a height-check script that determines ride eligibility.
Explore curly brace expansion in Bash, printing numbers and letters, looping through sequences, and using variables to generate files with varied base names for automation.
Master the cat command, the go-to tool for concatenate and basic file manipulation in bash. Learn to create, view, overwrite, and append files, and combine multiple files with redirection.
Master the here document and here file redirections to create and populate scripts, using unique end tags and quoting to prevent variable and string expansion.
Explore bash regex basics and how regular expressions power text searches. Learn literals, character classes, anchors, and modifiers with examples like SSN, phone numbers, and emails using grep.
This course concludes by showing how bash basics equip you with essential tools for a cloud computing environment, proving bash isn’t scary and encouraging deeper exploration.
Some next steps to keep building your foundational skills for working with cloud systems.
Bash is a Unix shell and command language that is the default login shell for most Linux distributions and and MacOS. It is now also available on Windows as of version 10. Over five years of training students in cloud native technologies and in building cloud systems for over twenty years, the team at Kumulus Technologies has found bash commands and scripts to be a basic necessity of "cloud life." In this course you'll get introduced to bash commands you should just know as well as some less common commands that we've found repeatedly useful in our work.