* [gentoo-user] A bash > query ...
@ 2007-01-01 10:49 Dave S
2007-01-01 11:09 ` Strong Cypher
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Dave S @ 2007-01-01 10:49 UTC (permalink / raw
To: Gentoo list
I know that
> /dev/null
redirects standard output , and that
2> /dev/null
redirects standard error
Is there an expression that redirects standard output and standard error - at
present I am using the ungainly
> /dev/null 2> /dev/null
Dave
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] A bash > query ...
2007-01-01 10:49 [gentoo-user] A bash > query Dave S
@ 2007-01-01 11:09 ` Strong Cypher
[not found] ` <200701011114.51502.gentoo@pusspaws.net>
2007-01-01 11:12 ` Graham Murray
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Strong Cypher @ 2007-01-01 11:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
just try >& /dev/null
they redirect all input (standard, error, user define) to dev-null
have fun
2007/1/1, Dave S <gentoo@pusspaws.net>:
>
> I know that
>
> > /dev/null
>
> redirects standard output , and that
>
> 2> /dev/null
>
> redirects standard error
>
> Is there an expression that redirects standard output and standard error -
> at
> present I am using the ungainly
>
> > /dev/null 2> /dev/null
>
>
> Dave
>
> --
> gentoo-user@gentoo.org mailing list
>
>
[-- Attachment #2: Type: text/html, Size: 811 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] A bash > query ...
2007-01-01 10:49 [gentoo-user] A bash > query Dave S
2007-01-01 11:09 ` Strong Cypher
@ 2007-01-01 11:12 ` Graham Murray
2007-01-01 13:21 ` Michael Sullivan
2007-01-01 20:56 ` Benno Schulenberg
3 siblings, 0 replies; 6+ messages in thread
From: Graham Murray @ 2007-01-01 11:12 UTC (permalink / raw
To: gentoo-user
Dave S <gentoo@pusspaws.net> writes:
> Is there an expression that redirects standard output and standard error
xxx &> /path/file
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] A bash > query ...
[not found] ` <200701011114.51502.gentoo@pusspaws.net>
@ 2007-01-01 11:26 ` Strong Cypher
0 siblings, 0 replies; 6+ messages in thread
From: Strong Cypher @ 2007-01-01 11:26 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 908 bytes --]
just take care of something
they only work on bash
sh need your first solution
and tsch ... I don't know but it's not this at all
2007/1/1, Dave S <gentoo@pusspaws.net>:
>
> On Monday 01 January 2007 11:09, Strong Cypher wrote:
> > just try >& /dev/null
> > they redirect all input (standard, error, user define) to dev-null
>
> Ahhh I was so near - I tried &> ! Thanks for that
>
> Dave
>
>
> >
> > have fun
> >
> > 2007/1/1, Dave S <gentoo@pusspaws.net>:
> > > I know that
> > >
> > > > /dev/null
> > >
> > > redirects standard output , and that
> > >
> > > 2> /dev/null
> > >
> > > redirects standard error
> > >
> > > Is there an expression that redirects standard output and standard
> error
> > > - at
> > > present I am using the ungainly
> > >
> > > > /dev/null 2> /dev/null
> > >
> > > Dave
> > >
> > > --
> > > gentoo-user@gentoo.org mailing list
> --
> gentoo-user@gentoo.org mailing list
>
>
[-- Attachment #2: Type: text/html, Size: 1519 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] A bash > query ...
2007-01-01 10:49 [gentoo-user] A bash > query Dave S
2007-01-01 11:09 ` Strong Cypher
2007-01-01 11:12 ` Graham Murray
@ 2007-01-01 13:21 ` Michael Sullivan
2007-01-01 20:56 ` Benno Schulenberg
3 siblings, 0 replies; 6+ messages in thread
From: Michael Sullivan @ 2007-01-01 13:21 UTC (permalink / raw
To: gentoo-user
On Mon, 2007-01-01 at 10:49 +0000, Dave S wrote:
> I know that
>
> > /dev/null
>
> redirects standard output , and that
>
> 2> /dev/null
>
> redirects standard error
>
> Is there an expression that redirects standard output and standard error - at
> present I am using the ungainly
>
> > /dev/null 2> /dev/null
>
>
> Dave
>
&> /dev/null (or wherever)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] A bash > query ...
2007-01-01 10:49 [gentoo-user] A bash > query Dave S
` (2 preceding siblings ...)
2007-01-01 13:21 ` Michael Sullivan
@ 2007-01-01 20:56 ` Benno Schulenberg
3 siblings, 0 replies; 6+ messages in thread
From: Benno Schulenberg @ 2007-01-01 20:56 UTC (permalink / raw
To: gentoo-user
Dave S wrote:
> Is there an expression that redirects standard output and
> standard error - at present I am using the ungainly
>
> > /dev/null 2> /dev/null
The following two commands:
man bash
/^REDIRECT
Or more directly:
man bash
/two formats
Benno
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-01-01 21:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-01 10:49 [gentoo-user] A bash > query Dave S
2007-01-01 11:09 ` Strong Cypher
[not found] ` <200701011114.51502.gentoo@pusspaws.net>
2007-01-01 11:26 ` Strong Cypher
2007-01-01 11:12 ` Graham Murray
2007-01-01 13:21 ` Michael Sullivan
2007-01-01 20:56 ` Benno Schulenberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox