TrumanWong

rsh

Connect to the remote host and execute commands

Supplementary instructions

rsh command is used to connect to the specified remote host and execute the specified command.

grammar

rsh(options)(parameters)

Options

-d: Use the Socket-level debugging function;
-l<user name>: Specify the user name to log in to the remote host;
-n: Direct the entered command number to the special peripheral device codenamed /dev/null.

Parameters

  • Remote host: Specify the remote host to connect;
  • Command: Specify the command to be executed on the remote host.