1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| $ ping -c 4 undertaker 2> toto.err 1> toto.log & tail -f toto.err &
[1] 10453
[2] 11946
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
$
$ cat toto.err
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
$ cat toto.log
ping: wrote undertaker.pagnol.net 64 chars, ret=-1
ping: wrote undertaker.pagnol.net 64 chars, ret=-1
--- undertaker.pagnol.net ping statistics ---
--- undertaker.pagnol.net ping statistics ---0.0% packe
4 packets transmitted, 0 packets received, 100.0% packet loss
$ |
Partager