Dashboard Examples

A few examples of one-liners that, when executed from the pc-cmd terminal, will connect to the dashboard server and return the answer directly in the pc cmd prompt.

 

Single command request:

echo y | plink root@10.54.252.85 -pw easybot "{ echo "get robot model"; echo "quit"; } | nc 127.0.0.1 29999"

Multiple commands request:

echo y | plink root@10.54.252.85 -pw easybot "{ echo "get serial number"; echo "get robot model"; 
echo "safetystatus"; echo "get operational mode"; echo "quit"; } | nc 127.0.0.1 29999"

 

If requesting more time consuming tasks it may be necessary to add delays between the echoes.

 

If you want the response written directly to a file for later use or documentation, you can write:

echo y | plink root@10.54.252.85 -pw easybot "{ echo "get robot model"; echo "quit"; } | nc 127.0.0.1 29999" > my_dbs_response.txt