Linux Comm Rsh
# Linux rsh Command
[ Linux Command Manual](#)
The Linux rsh command is used for remote login Shell.
rsh (remote shell) provides a user environment, i.e., a Shell, so that commands can be executed on a specified remote host.
### Syntax
rsh
**Parameter Description**:
* -d Use the debugging function of the Socket layer.
* -l Specify the username to log in to the remote host.
* -n Redirect the input command to the special peripheral device /dev/null.
### Example
Start the rsh service
# chkconfig --list //Check if the rlogin service is enabled# chkconfig rsh on //Start the rsh service# chkconfig -list //Check enabled services
Remote command execution
# rsh -l hnlinux 192.168.1.88 /bin/ls //Remotely execute the ls command
[ Linux Command Manual](#)
YouTip