![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| proble in running .properties file | sari | Linux | 0 | 04-22-2008 03:25 AM |
| Depot file properties | sethumadhavan | HP-UX | 1 | 11-22-2007 07:58 AM |
| Array Properties | Raynon | Shell Programming and Scripting | 2 | 08-17-2007 06:49 AM |
| properties for vi | shriashishpatil | UNIX for Dummies Questions & Answers | 2 | 04-20-2007 01:27 PM |
| Directory properties | trekker | UNIX for Dummies Questions & Answers | 8 | 11-20-2001 09:55 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
File properties
Hi ,
I do have a line in my code as follows: if [[ -z $FILE_NAME ]] ; then ... else ... fi What does the -z does ? Similarly there is -s in some other part of the code. I guess there are many options like this.. Can anybody please tell what all options are available and what do they mean ? |
|
||||
|
The statement means "if the variable $FILE_NAME is of zero length, then...".
The -s option could mean anything, depending on where it is used. Check out http://www.tldp.org/LDP/Bash-Beginners-Guide/html/ for a place to start learning shell scripting. If it is bash You want to learn about. |
|
||||
|
Hi Lakris,
Thanks for your help. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|