|
Quick links About
on Syntax Examples
Related commands Linux / Unix main page
About on
Execute a command on a remote system, but with the local environment.
Syntax
on [ -i ] [ -d ] [ -n ] host command [argument]
| -i |
Interactive mode. Use remote echoing and special character processing. This option is needed for programs that expect to be talking to a terminal.
All terminal modes and window size changes are propagated. |
| -d |
Debug mode. Print out some messages as work is being done. |
| -n |
No Input. This option causes the remote program to get EOF when it reads from the standard input, instead of passing the standard input from the standard input of the on program. For example, -n is necessary when running commands in the
background with job control. |
| host command |
The host command that you wish to
execute |
| argument |
Addition arguments |
Examples
on computerhope.com ls - Runs the ls command on
the domain computerhope.com
Related commands
chkey
rlogin rsh
telnet
|
|
| Resolved | Were you able to locate the answer to your questions? |
|
|