Команда on

Execute a command on a remote system, but with the local environment.

Синтаксис

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

-iInteractive 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.
-dDebug mode. Print out some messages as work is being done.
-nNo 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 commandThe host command that you wish to execute
argumentAddition arguments

Примеры

on computerhope.com ls - Runs the ls command on the domain computerhope.com

Обратно к списку команд