Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 01:32:51 -0500
From:      parv <parv_@yahoo.com>
To:        Peter Ulrich Kruppa <root@pukruppa.de>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Cannot change X screen resolution
Message-ID:  <20020305063251.GA4806@moo.holy.cow>
In-Reply-To: <20020305061845.E203-100000@pukruppa.de>
References:  <20020305120749.B64582@wantadilla.lemis.com> <20020305061845.E203-100000@pukruppa.de>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <20020305061845.E203-100000@pukruppa.de>, 
wrote Peter Ulrich Kruppa thusly...
>
> I tried
>   # startx 2 > & 1  > /var/tmp/startuplog
             ^^^^^^^
> and get
>   Ambiguous output redirect.

as such...

  ...startx is executed in background w/ argument "2", redirecting
  stdout to "somewhere" (thus the message "Ambiguous output
  redirect")...

  ...then proceed to execute a program named "1", sending its stdout
  to /var/tmp/startuplog ...

...if you nix the spaces between "2", ">", "&" and "1", you will not
get the error message as shown in previous messages.  also, don't
forget the previous message on stdout/stderr redirection order, or
check your shell man page.

 - parv

-- 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020305063251.GA4806>