Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit
» 

DSPP Home

» HP STK home
Tru64 UNIX STK
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» FAQ
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
» DSPP
Content starts here

critical impact:

ln - command option differences (CrCh149)

CMD Impacts

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

UNIX Commandsln                  

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
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.