Skip to content
Free Computer Courses
Courses
Search
Projects
Resources
Cheatsheets
Categories
Saved
About
Contact
Log in
Home
/
Operating systems
/
Bash Tutorials
/ Control flow
Control flow
4 lessons in the Bash course.
Full Bash course
·
Search this topic
·
Operating systems
Script Arguments
Read positional parameters and loop over all arguments.
if and test
Branch with if, [[ ]], and common file and string tests.
case Statements
Match patterns cleanly with case instead of long if/elif chains.
Loops
Repeat work with for, while, and until loops.