Hi,
On Thu, Nov 7, 2013 at 9:14 PM, <chru...@suse.cz> wrote:

> Hi!
> > for example:
> >     $ netstat -s 1>netstat/dev/null 2>&1 ; echo $?
> >     1
>
> This is completly bogus code, it returns nonzero because the file
> 'netstat/dev/null' cannot be found. It works for me if I remove the
> 'netstat' from the line.
>
> Sorry, it a typo.
it will returns nonzero in ubuntu 12.04. it's a similar case to finger test.

for example:
    $ netstat -s 1>/dev/null 2>&1 ; echo $?
    1


> --
> Cyril Hrubis
> chru...@suse.cz
>



-- 
Regards,
Vincent Hsu
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to