Skip to content

Commit

Permalink
Comment on netcat command for macos/linux compatibility
Browse files Browse the repository at this point in the history
The version of netcat on MacOS doesn't support, or need, the `-N` parameter.
  • Loading branch information
kemitix committed Aug 30, 2018
1 parent ca1cd3f commit fbc27ca
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -66,7 +66,11 @@ services:
name: sayHiNetcat
description: Echo a small hello string to the netcat entity
command: |
echo $message | nc -N $TARGET_HOSTNAME 4321
# Uncomment the appropriate command for your operating system
# for Linux:
# echo $message | nc -N $TARGET_HOSTNAME 4321
# for MacOS:
# echo $message | nc $TARGET_HOSTNAME 4321
parameters:
message:
description: The string to pass to netcat
Expand Down

0 comments on commit fbc27ca

Please sign in to comment.