[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Comportamiento de fping



On Wed, Sep 18, 2002 at 06:47:56PM +0200, Jesus Arias Fisteus wrote:
> >>Note that the order of redirections is significant.  For example,
> the command
> 
> ls > dirlist 2>&1
> 
> directs both standard output (file descriptor 1) and standard error
> (file descriptor 2) to the file dirlist, while the command
> 
> ls 2>&1 > dirlist
> 
> directs only the standard output to file dirlist, because the standard
> error was duplicated as standard output before the standard output was
> redirected to dirlist.<<
Gracias, ni se me había ocurrido pensar en ello. :))
-- 
Javier Fafián Alvarez		|La vida es aquello que te va sucediendo
Debian/GNU  Linux		|mientras tu te empeñas en hacer otros planes.



Reply to: