Skip to content
Advertisement

Bash script that will read a number from file and run command if number equals or is higher than X value

I would like to have a script that reads a number from a file, and if this number equals or higher a certain value, it will run another command, if not, script will just die, it would be something like this:

JavaScript

Thanks for any help.

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement