Differences in nc (netcat) options on Ubuntu vs RedHat
Fresh3 days ago
Mar 15, 20264814 viewsConfidence Score0%
0%
Problem
In Ubuntu, may be used as above, with the option. See manpage. after EOF on stdin, wait the specified number of seconds and then quit. If seconds is negative, wait forever. However, this option is not available in Redhat 5. See manpage. How do I achieve the equivalent of in RedHat 5?
Error Output
nc -q -1 local host ${PORT} ${CMD}Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Differences in nc (netcat) options on Ubuntu vs RedHat
Low Risk
What do you want that option for? If you explain the use case, maybe we can come up with an alternative. For example, maybe this is sufficient? I think the linux.die.net man pages is from RedHat Enterprise Linux 5, but not 100% sure.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix