I’m guessing it stands for less than based on the output, but where can I find documentation about this syntax?
#!/bin/bash
COUNTER=0
while [ $COUNTER -lt 10 ]; do
echo The counter is $COUNTER
let COUNTER=COUNTER+1
done
-ltis less than (strictly).The man page you’re looking for is
man test.