Starting with bash: -lt and -gt arguments
I'm starting with bash and I found the following:
if test $first -lt $second then echo $first is lower than $second else if test $first -gt $second then echo $first is higher than $second else echo $first and $second are equals fi fi
For reading the script and executing it, I know what it does, but not what -lt and -gt are for.
Can somebody tell me what is the name of that kind of 'tool' and what they(-lt and -gt) do? Thanks!
Sorry, but I feel worth pointing out that the `echo` statements in the code answer your question.