The posix Windows command-line utility is the tty driver
for the Interix subsystem. It is responsible for starting an
Interix process and then managing the tty keyboard input and
display output for the Interix processes which share that
device.
The posix command supports the following options, which
can be specified using lowercase or uppercase letters (/c or
/C):
/ppathname
Specifies the path name of the Interix program to run. When
combined with the /c option, this allows you to start a
program and set the $0 argument to something other than the
path to the program. For example, posix /u /p /bin/ksh /c
-ksh starts the Korn shell /bin/ksh but sets the initial
argument to that shell to be -ksh, which signals the Korn
shell that it should behave as though it were a login shell.
/u
Specifies that the pathname argument provided with the
/p or /c options is given in Interix syntax rather
than Windows syntax. This option makes it easier to run programs
using the Interix single-rooted file system. For example, the Korn
shell can be started using posix /u /c /bin/ksh regardless
of the Windows directory in which Windows Services for UNIX is
installed.
/v
Controls the display of diagnostic information from the
posix utility. Using /v more than once increases the
amount of diagnostic information displayed.
/cpathname [arguments]
Indicates that the rest of the command line specifies the
Interix program to run and the arguments to be passed to that
program. The pathname argument names the Interix program to
execute (see /p) and is provided to the program as its
$0 argument. If used, this must be the last option on the
command line.