Linux rsh命令

Linux 教程 · 2019-02-16 17:28:36

Linux rsh命令用于远端登入的Shell。

rsh(remote shell)提供用户环境,也就是Shell,以便指令能够在指定的远端主机上执行。

语法

rsh [-dn][-l <用户名称>][主机名称或IP地址][执行指令]

参数说明

  • -d  使用Socket层级的排错功能。
  • -l<用户名称>  指定要登入远端主机的用户名称。
  • -n  把输入的指令号向代号为/dev/null的特殊外围设备。

实例

开启rsh服务

# chkconfig --list //检测rlogin服务是否开启

# chkconfig rsh on //开启rsh服务

# chkconfig -list //检测开启的服务

远程命令执行

# rsh -l hnlinux 192.168.1.88 /bin/ls //远程执行ls命令

点击查看所有 Linux 教程 文章: https://codercto.com/courses/l/14.html

查看所有标签

Haskell Programming from first principles

Haskell Programming from first principles

Christopher Allen、Julie Moronuki / 2015 / USD 59.00

I am writing this book because I had a hard time learning Haskell. It doesn't have to be that way. I've spent the last couple years actively teaching Haskell online and in person. Along the way, I ......一起来看看 《Haskell Programming from first principles》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

随机密码生成器
随机密码生成器

多种字符组合密码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器