history

Shows the command history with date and time stamps.

Scope

platform shell, domain shell

Syntax

history [-h]

Options/Parameters

-hdisplays help for this command.

Description

Shows the command history with date and time stamps for when the commands were executed. This command is shown for your shell and displays the last twenty commands only.

See Also

Command line editing can be used to edit the command history. For more information on how to use command line editing, see “Command Line Editing” on page 9.

Example

CODE EXAMPLE 3-24 history Command

schostname:SC> history

May 07 16:29:21 : showboards

May 07 16:29:24 : showdate

May 07 16:29:29 : history

46 Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001

Page 62
Image 62
Sun Microsystems 6800/4810/4800/3800 manual History