I have an if statement I need to run, as long as the value I have stored in my $counter variable is greater than 5.
Here is the respective section of my current (non-functioning) script:
if $counter > 5
then
echo "something"
fi
The mistake I'm making is probably very obvious, but for some reason I couldn't find the solution online.. Thanks!
bashtag was just added to it so the suggested duplicate bash-specific question isn't exactly correct. Close with a POSIX/sh-specific duplicate question if wanted.