Re: NM Drops Connections



On Tuesday 04 July 2006 12:08, jim lawrence wrote:
> also  is there a way of running NetworkManager --No Daemon  and pipe
> to a text file while  it is running ?

Redirecting standard files is a normal part of the shell.  If a
program writes to stdout, then

    $ prog >prog.out

will cause prog's output to be written to the file prog.out instead of
the terminal.  If you want to redirect stderr to the same place, then
use

    $ prog >prog.out 2>&1

Finally, the tee program will duplicate a stream to a file and to the
terminal at the same time.  Use this

    $ prog 2>&1 | tee prog.out

to write all output to the file prog.out and to the terminal.

See bash(1) and tee(1).

-- 
Garry T. Williams --- +1 678 656-4579





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