Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 google.com > /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

1 Answer 1

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.