i have xinetd setup to run myscript.sh whenever some text is sent to port 2222.
but i'm needing to pipe the text into myscript.sh
example:
- client sends string "11111" to server port 2222
- myscript.sh is executed with "11111" as the first argument.
can this be done?
thanks for any help.
but i'm needing to pipe the text into myscript.sh
example:
- client sends string "11111" to server port 2222
- myscript.sh is executed with "11111" as the first argument.
can this be done?
thanks for any help.