Gentoo Archives: gentoo-user

From: Strong Cypher <cypherstrong@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] A bash > query ...
Date: Mon, 01 Jan 2007 11:14:07
Message-Id: 5251dbe30701010309s5cb4b1a6u3fff9dd912aabfdd@mail.gmail.com
In Reply to: [gentoo-user] A bash > query ... by Dave S
1 just try >& /dev/null
2 they redirect all input (standard, error, user define) to dev-null
3
4 have fun
5
6 2007/1/1, Dave S <gentoo@××××××××.net>:
7 >
8 > I know that
9 >
10 > > /dev/null
11 >
12 > redirects standard output , and that
13 >
14 > 2> /dev/null
15 >
16 > redirects standard error
17 >
18 > Is there an expression that redirects standard output and standard error -
19 > at
20 > present I am using the ungainly
21 >
22 > > /dev/null 2> /dev/null
23 >
24 >
25 > Dave
26 >
27 > --
28 > gentoo-user@g.o mailing list
29 >
30 >