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:

last - command option differences (CrCh148)

CMD Impacts

Problem description

Some Tru64 UNIX last functionality does not exist on HP-UX.

The -n option, which restricts the number of lines to display (SVID conformance), is supported on Tru64 UNIX but is not available on HP-UX. However, an alternative exists.

On Tru64 UNIX, the user's host name is displayed by default. On HP-UX, you must use an option to display the user's host name.

Identifiers

UNIX Commandslast              

See also

Solution description

Review your code and the applicable manpages to determine how to resolve this issue.

If your script uses the -n option, you can use the -number option. If your script relies on the last command returning the host name, add the -R option to your command line.

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.