How to test if a variable is equal to a number in shell



How to test if a variable is equal to a number in shell

How to test if a variable is equal to a number in shell

———————————————————————————————————————————–
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
———————————————————————————————————————————–

Music by Eric Matyas
https://www.soundimage.org
Track title: Melt

Chapters
00:00 Question
00:51 Accepted answer (Score 54)
02:15 Answer 2 (Score 11)
02:27 Answer 3 (Score 2)
03:42 Thank you

Full question
https://superuser.com/questions/688882/how-to-test-if-a-variable-is-equal-to-a-number-in-shell

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/licensing

Tags
#linux #bash #shell #shellscript

#avk47