output redirection not happening completely
- by Gaurav
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?