What is GT in shell script?

What is GT in shell script?
Answer
-gt means “
greater than”. It is used to compare integers for the inequality that is usually written > in other languages (in some shells, with the test utility or inside [ … ] , > compares two strings for lexicographical ordering, so it has a very different meaning from -gt ).
 

Tìm kiếm

Back
Top