如何netcat -e使用没有该-e选项的netcat版本进行模拟?
netcat -e
-e
我需要远程触发命令.我可以用netcat做到 - 没有-e:
#!/斌/庆典 netcat -l 8080; myCommand.sh
#!/斌/庆典
netcat -l 8080; myCommand.sh
这样就可以了,但是我想根据命令的成功或失败来回复客户端(有一种类似REST的界面).
我怎么能这样做?
谢谢!
linux bash system netcat
bash ×1
linux ×1
netcat ×1
system ×1