1752273 Members
4796 Online
108786 Solutions
New Discussion юеВ

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 2
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.