history

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Display command line history

Arguments and Return Values

Arguments: An integer

Return Value: none. Information printed to screen.

Usage

Syntax: history(number)

The history() function displays the last N commands from the command line history. If no argument is given, then the entire history is printed to the screen.

Does not print the output of typed commands.

Examples

dv> history(10)
 98991   HasValue(a)
 98992   hasvalue(a)
 98993   hasvalue(struct)
 98994   hasvalue(struct.c)
 98995   text
 98996   hasvalue(text)
 98997   exists(?)
 98998   exists()
 98999   history(?)
 99000   history(10)

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left


Recent Core Changes

Modified On: 07-06-2009

Personal tools