Categoria: Shellscript

COMPARANDO STRING, NÚMEROS, ARQUIVOS EM SHELLSCRIPT

Mostraremos como fazer comparações numéricas, de strings e arquivos em seus comandos em linux ou scripts em shell. NUMBERS num1 -eq num2 check if 1st  number is equal to 2nd number num1 -ge num2 checks if 1st  number  is greater than or equal to 2nd number num1 -gt num2 checks if 1st  number is greater […]

Continue a ler