Check if a number is greater than another number
Returns an exit code of 0 if integer_a is greater than integer_b.
Authored by: Sidratul MuntahaBrought to you by Warp, a free terminal reimagined to work like a modern app.
integer_a
integer_b
Command
Copy
[[ integer_a -gt integer_b ]]
Tags
Edit in GitHub
Copied