English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux rsh command

Linux Command大全

Linux rsh command is used for remote login Shell.

rsh(remote shell) provides the user environment, that is, Shell, so that the command can be executed on the specified remote host.

Syntax

rsh [-dn][-l <user name>][host name or IP address][execute command]

Parameter Description:

  • -d  Use debugging functions at the Socket level.
  • -l<user name>  Specify the user name to log in to the remote host.
  • -n  Input the instruction number to the designated/dev/Special peripheral devices of null.

Online Examples

Enable rsh Service

# chkconfig --list //Check if rlogin Service is Enabled
# chkconfig rsh on //Enable rsh Service
# chkconfig -list //Service Detection

Remote Command Execution

# rsh -l hnlinux 192.168.1.88 /bin/ls //Remote Execution of ls Command

Linux Command大全