cancel
Showing results for 
Search instead for 
Did you mean: 

IF parameters

SOLVED
Go to solution
Ngoh Chean Siung
Super Advisor

IF parameters

Hi,

Where I can get a list parameters with explanation for IF statement such as -z, -s and etc?

exp: if [ -s $tab.log ]

regards.
2 REPLIES
Warren_9
Honored Contributor
Solution

Re: IF parameters

hi,

"man test"

GOOD LUCK!!
Dennis Handly
Acclaimed Contributor

Re: IF parameters

You can also find a list for the ksh/posix builtins for "if [[ ... ]]", under ksh(1) and sh-posix(1). See Conditional Expressions.