On the Solaris operating system, the on command executes a command on a remote system, but with the local environment.

Syntax

on [ -i ] [ -d ] [ -n ] host-command [argument]

Options

Examples

on computerhope.com ls

Runs the ls command on the domain computerhope.com.

  • Syntax
  • Examples
  • Related commands
  • Linux commands help

chkey — Change the secure RPC key pair on SunOS.rlogin — Begin a session on a remote system.rsh — Execute a command on a remote shell.telnet — Connect to a remote system using the telnet protocol.