Introduction
The test command and [ ] syntax help check conditions in scripts to decide what to do next.
Check if a file exists before reading it.
Compare two numbers to see which is bigger.
See if a variable is empty or not.
Decide what to do based on user input.
Verify if a directory is present before creating files.