Bash crumbs tagged with #test

Comparing values in Bash

Comparing values in Bash

Dec 14, 2021 by erik

The Bash test command can test for many things. The full list can be seen when you enter man test on the command line. Here's how you can compare two values to see if they are the same in bash....

comparison test