critical impact:
ln - command option differences (CrCh149)
Problem description
Some Tru64 UNIX ln functionality does not exist on HP-UX.
The -n option (to not create a link if a target already exists, but instead
issues an error message) is supported on Tru64 UNIX, but is not available on HP-UX.
On Tru64 UNIX, one syntax for the ln command has an
optional target name. If this is not specified, Tru64 UNIX assumes that the
target is the current directory. On HP-UX, the destination is required. Identifiers
 ln |
|
|
|
|
|
|
|
|
|
See also
Solution description
The -n option is not necessary on HP-UX. On Tru64 UNIX, the -n option prevents the ln command from overwriting existing targets when CMD+EN=svr4 is set. On HP-UX, the ln command does not overwrite existing targets by default.
For the Tru64 UNIX ln sourcename version of the syntax, the solution is to specify a target with the ln sourcename targetname form.
See also
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| CMD |
Script |
any HP-UX 11i version |
critical |
changed |
|