Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

ping puzzle



William Holt writes:

| what happens when you redirect stdout to stderr, and then redirect stderr? ie:
| ping x.x.x.x 2>A 1>&2
| cat A

What happens is that the ping  hangs,  of  course,  so  I  don't  get
another  shell prompt, making the cat moot.  So I ran the ping in the
background. For x.x.x.x my unreachable host, A remained at zero bytes
for a long time.  I suppose it will eventually get some data, after a
few hours, but by then the data won't be interesting any more.






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org