Showing results for 
Search instead for 
Do you mean 

IF parameters

SOLVED
Go to Solution
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
Honored Contributor [Founder]

Re: IF parameters

hi,

"man test"

GOOD LUCK!!
Acclaimed Contributor [Founder]

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.