critical impact:
last - command option differences (CrCh148)
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
 last |
|
|
|
|
|
|
|
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 |
|