LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] what does this shell script mean

[ILUG] what does this shell script mean

hrishy samant hrishys at yahoo.co.uk
Wed May 9 10:21:54 IST 2001


hey thanks buddy can you also if possible tell me what
is getopts all about.
--- Vincent Cunniffe <vincent at cunniffe.net> wrote: >
hrishy samant wrote:
> 
> > hello 
> > 
> > could anybody explain me this shell script
>  
> <schip>
> 
> 
> > can anybody explain what this &&set_level 1 means
> 
> 
> It's a logical AND statement, used as a trick to run
> a subsequent 
> command *only* if the first command returned a
> 'success' value.
> 
> The evaluation of the expression (X && Y) is false
> if either X *or* Y 
> are false, so Y will not even be evaluated if X is
> found false.
> 
> This is fairly commonly used, in commands such as :
> 
> 	make && make install
> 
> which will only run the second installation command
> if the compilation 
> stage is found to have worked.
> 
> Regards,
> 
> Vin
> 
> 
> -- 
> Irish Linux Users' Group: ilug at linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for
> (un)subscription information.
> List maintainer: listmaster at linux.ie


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell