-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 14 April 2002 01:02 pm, Wolfgang Pfeiffer wrote:

> > /dev/null 2>&1 && umount /mnt/linuxbackup/ && DISPLAY=:0.0 /usr/
>
> X11R6/bin/xmessage Gratulation!! Daily backup succeeded \:\)
> .. /mnt/backup/ successfully unmounted.
>
> The commands really do exactly what I whant, but there's this
> little part: '> /dev/null 2>&1'

It redirects both standard output and standard error to /dev/null,
so both errors and normal output get redirected rather than filling logs 
or mailbox.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.2 in 8M of RAM: http://www.freesoftware.fsf.org/rule/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjy5uH0ACgkQn/07WoAb/SsTLACgkfjkLW9LySmk1afBA/LRhKfs
uEgAoI6VMMirL635rbNkoJ6n47lEYIFo
=TNQM
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to