Answer the question
In order to leave comments, you need to log in
Why doesn't the od command pass output to the pipe?
When using the od command, no result is passed to the next command through the pipe. Although at the same time there is an output to the console, if not redirected anywhere. Why is that? And is it possible to do it somehow?
This option works: nc -u -l -p 53 | od -An -t u1 -w1 -v
Everything is displayed in the console as it should.
This option does not work: nc -u -l -p 53 | od -An -t u1 -w1 -v > result.txt
And this option does not work:
nc -u -l -p 53 | od -An -t u1 -w1 -v | (
read a
echo $a
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question