[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] comando test (/dev/null) (tá na apostila do aurélio!!
From: |
ISAIAS DE ASSIS MACHADO |
Subject: |
Re: [shell-script] comando test (/dev/null) (tá na apostila do aurélio!!!!) |
Date: |
Sun, 8 Aug 2004 21:58:40 -0300 |
User-agent: |
Internet Messaging Program (IMP) 4.0-cvs |
O "test" checa caracteristicas de um arquivo (se ele existe, se é diretorio,
etc), além de comparar valores.
Vc pode encontrar mais info utilizando o "man" da seguinte forma:
[isaias@psi isaias]$ man teste
TEST(1) FSF TEST(1)
NAME
test - check file types and compare values
SYNOPSIS
test EXPRESSION
[ EXPRESSION ]
test OPTION
DESCRIPTION
Exit with the status determined by EXPRESSION.
--help display this help and exit
--version
output version information and exit
EXPRESSION is true or false and sets exit status. It is one of:
......
.....
....
...
..