[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: not operator in search ?

arnaud wrote:

> hello,
> >> wrong
> ldapsearch -b  'dc=ungi,dc=fr' "(!(rep1titre=*))"
> bash: !: event not found

This message comes from the shell (bash). It states that the
command `!' didn't find the event you unintentionally asked
for. This happens because the double quotes in bash do not
prevent some command invocation. Use single quotes instead:

ldapsearch -b  'dc=ungi,dc=fr' '(!(rep1titre=*))'


Dr. Pierangelo Masarati    mailto:ando@sys-net.it
Developer, SysNet s.n.c.   http://www.sys-net.it