Top
||
Section Contents
||
Permuted Index
SavaJe OS
1.1.0
nsh network shell
nsh [-h host_ip_address] [-p port] [-f hostfile]
Connect, via TCP/IP, to the host:port combination
specified on the command line.
Other than redirecting standard output to the host, nsh
behaves
like the shell.
If the -f
option
is used, the host logs output into a file with the basename hostfile
.
The host must be running the server side program
com.savaJe.misc.nshServer
, which listens on port 1111 by
default.
-h host
|
specify host IP address. Default is 127.0.0.1. |
-p port
|
specify port. Default is 1111. |
-f file
|
specify log file basename on the server. Server will use the first available filename of the form file N , where N is an integer (starting with 0). |
host% java com.savaJe.misc.nshServer
Run nshServer
on the host.
lsh% nsh -h 192.168.0.237 -f testresults
Run nsh
from
SavaJe OS
to communicate with
port 1111 of the host
192.168.0.237, logging output in the file testresults0
(assuming testresults0
does not exist already):