TEST

Section: User Commands (1)
Updated: January 1988
Index Return to Main Contents
\$1                           \$2
 

NAME

test - test condition (Korn and 8th edition)  

SYNOPSIS

test expression
[ expression ]  

DESCRIPTION

Testevaluates the expression and returns zero status if true, and non-zero status otherwise. It is normally used as the controlling command of the if and while statements.

The following basic expressions are available.

The above basic expressions may be combined with the following operators.

 

AUTHOR

Erik Baalbergen. Modified by Arnold Robbins.


 

Index

NAME
SYNOPSIS
DESCRIPTION
AUTHOR

This document was created by man2html, using the manual pages.
Time: 23:47:21 GMT, February 06, 2023