commands.sh

rsh

linux

Execute commands on a remote host.

More info →

Options (1)

-l, --userboolean

Execute a command on a remote host with a specific username

Example: rsh {{remote_host}} {{[-l|--user]}} {{username}} {{ls -l}}

Examples (3)

Execute a command on a remote host

rsh remote_host ls -l

Execute a command on a remote host with a specific username

rsh remote_host [-l|--user] username ls -l

Redirect `stdin` to `/dev/null` when executing a command on a remote host

rsh remote_host --no-err ls -l
made by @shridhargupta | data from tldr-pages