Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
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.