output redirection not happening completely
Posted
by
Gaurav
on Super User
See other posts from Super User
or by Gaurav
Published on 2012-11-04T20:53:49Z
Indexed on
2012/11/10
11:07 UTC
Read the original article
Hit count: 204
ubuntu-12.04
|bash-scripting
I am running the following command on ubuntu 12.04 bash shell:
hping3 -S -p 80 -c 30 www.google.com >> outputfile.txt
But the problem is that this leaves some lines in the end and doesn't copy in the file. I even tried
hping3 -S -p 80 -c 30 www.google.com >> outputfile.txt 2>&1
It also gives same problem. However this works perfect:
ping -c 30 www.google.com >> outputfile.txt
Any idea about what I might be missing?
© Super User or respective owner