|
The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024
|
Latest message you have seen: File - UKHA_D Guidelines |
[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
[OT]Bash Script help
Apologies for the off topic
Could anyone supply me the line I need for a bash script to do this...
If $VAL > %2 then
$VAL is an integer between 0 and 100 as a string (captured from an snmpget
command) and %2 will be the value to test against supplied as the 2nd
command line parameter.
if [ "$VAL" > "%2" ]; then
doesn't appear to work.
Thanks
Dean
Home |
Main Index |
Thread Index
|
|