From f39087a6dc5b4580982f6d07cd40553baa1e59ae Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Date: Sat, 11 Nov 2023 17:02:18 +0100 Subject: [PATCH] rsh: add page (#11459) * rsh: add page --------- Co-authored-by: Juri Dispan --- pages/linux/rsh.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/linux/rsh.md diff --git a/pages/linux/rsh.md b/pages/linux/rsh.md new file mode 100644 index 000000000..cfc260a0d --- /dev/null +++ b/pages/linux/rsh.md @@ -0,0 +1,16 @@ +# rsh + +> Execute commands on a remote host. +> More information: . + +- 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 {{username}} {{ls -l}}` + +- Redirect `stdin` to `/dev/null` when executing a command on a remote host: + +`rsh {{remote_host}} --no-err {{ls -l}}`