I'm trying to compare 2 values in my script. Problem is, one is a string and the other is an integer. Can anyone give me an example of how you would convert a string to an integer on linux inside a shell script?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.