domingo, 27 de abril de 2014

Tabela para comparações com Shell Script

Comparações:
-eq    equal to
-ne    not equal to
-lt    less than
-le    less than or equal to
-gt    greater than
-ge    greater than or equal to

Operando arquivos:
-s    file exists and is not empty
-f    file exists and is not a directory
-d    directory exists
-x    file is executable
-w    file is writable
-r    file is readable

Nenhum comentário:

Postar um comentário