Hallo Liste,

ich hätte eine kleine Frage zur Bash.

Gibt es einen Unterschied zwischen :

--------------------------------------
#!/bin/bash

if (rpm -q rsyslog &> /dev/null) ; then

 echo bla

fi
--------------------------------------


und


--------------------------------------
#!/bin/bash

if rpm -q rsyslog &> /dev/null ; then

 echo bla

fi
--------------------------------------


also einmal mit und einmal ohne Klammern.

Vielleicht kann mir das ja jemand verständlich erklären.

Vielen Dank

Ralph
-- 
Linux mailing list [email protected]
subscribe/unsubscribe: http://lug-owl.de/mailman/listinfo/linux
Hinweise zur Nutzung: http://www.lug-owl.de/Mailingliste/hints.epo

Antwort per Email an