on — Execute a Command on a Remote System, Using the Local Environment

Synopsis

/usr/bin/on [-i][-d][-n] host command [argument] ... 

Description

Use the on command to execute commands on another system in an environment similar to that invoking the program. All environment variables are passed through, and the current working directory is preserved. To preserve the working directory, the working file system must either be already mounted on the host or be exported to it. Relative path names work only if they are within the current file system; absolute path names may cause problems.

The standard input is connected to the standard input of the remote command, and the standard output and the standard error from the remote command are sent ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.