Teaching by a professional University teacher with complete details and important concepts. Latest Command Line Tutorial.
Expressions
An expression can be: String comparison, Numeric comparison, File operators and Logical operators and it is represented by [expression]:
String Comparisons:
= compare if two strings are equal
!= compare if two strings are not equal
-n evaluate if string length is greater than zero
-z evaluate if string length is equal to zero
-eq compare if two numbers are equal
-ge compare if one number is greater than or equal to a number
-le compare if one number is less than or equal to a number
-ne compare if two numbers are not equal
-gt compare if one number is greater than another number
-lt compare if one number is less than another number
Nesta página do site você pode assistir ao vídeo on-line Arrays in Shell script; if else condiotion | Shell Scripting in Linux duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Annam Hussain Official 04 Junho 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 420 vezes e gostou 34 espectadores. Boa visualização!