scripting - Transmit command with netcat / Receive answer and put in txt file -


i have question , try made batch scripting file sends automaticly command server , listen answer put answer in txt file.

i want netcat don't know how start it

#! /bin/sh  while(true) { nc sanderpi 5033 ::this command want send rdtemp1 ::here stuck ... } 

thanks lot helping :p


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -