Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: telnetChapter 2
UNIX Commands
Next: Reference: time


test expression
[ expression ]

Evaluate an expression and, if its value is true, return a zero exit status; otherwise, return a nonzero exit status. In shell scripts, you can use the alternate form [ expression ]. This command is generally used with conditional constructs in shell programs. See Section 4 for more information on test.

Previous: Reference: telnetUNIX in a Nutshell: System V EditionNext: Reference: time
Reference: telnetBook IndexReference: time

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System