Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to send fwknop SPA from linux command. The syntax is

echo 1234 | fwknop --Home-dir /tmp -f 5 -A tcp/80 -a $1 -D > /devel/null 2>1 &

However I'm getting an error like "-bash: echo: write error: Broken pipe" If I try the same command from another centos it works without any issue so I don't know how to fix it. The both servers are running the same version of centos (5.5) with the lasted updates. Thanks a lot for any help !

share|improve this question
up vote 2 down vote accepted


shouldn't this be /dev/null?

also, check the installed packages and try running fwknop without redirection (no echo or /dev/null). The command may be failing

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.