Mailinglist Archive: opensuse (1332 mails)

< Previous Next >
Re: [opensuse] apache mod_rewrite
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Sun, 3 May 2009 06:10:58 -0700
  • Message-id: <200905030610.59011.rschulz@xxxxxxxxx>
On Sunday May 3 2009, Carlos E. R. wrote:
On Saturday, 2009-05-02 at 22:54 -0500, Duaine & Laura Hechler wrote:
a2enmod -q rewrite || echo "module not installed or enabled in
apache configuration!"

Last command returns:

-bash: !": event not found

The "||" are pipe bars, not exclamations.

Not when double. The || is a "conditional or," meaning do the command on
the right if the command on the left returns a failed (non-zero) exit
status.

The diagnostic came from the ! in the string.


--
Cheers,
Carlos E. R.


Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
This Thread