LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   quick question (https://www.linuxquestions.org/questions/linux-newbie-8/quick-question-277266/)

citrus 01-13-2005 05:43 AM

quick question
 
explination:

the && operator will run the next command giving that the first command resulted in no errors

example:

run -this && run -that

question:

what is the operator that will run the next command even if the first one returned an error?

answere:

?

p.s.:

thanks

reddazz 01-13-2005 06:08 AM

Instead of using "&&", use ";"

e.g

$./configure; make; make install

The commands are run even if one fails. Obviously my example is not very good, but you get the idea.


All times are GMT -5. The time now is 08:55 AM.