IF parameters (105 Views)
Reply
Super Advisor
Ngoh Chean Siung
Posts: 302
Registered: ‎03-10-2004
Message 1 of 3 (105 Views)
Accepted Solution

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.
Honored Contributor
Warren_9
Posts: 292
Registered: ‎11-05-2002
Message 2 of 3 (105 Views)

Re: IF parameters

hi,

"man test"

GOOD LUCK!!
Acclaimed Contributor
Dennis Handly
Posts: 25,198
Registered: ‎03-06-2006
Message 3 of 3 (105 Views)

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.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.