NAME
history – print file names from the dump |
SYNOPSIS
history [ –Dabcemnw ] [ –fuv ] [ –d dumpfilesystem ] [ –s yyyymmdd
] files ... |
DESCRIPTION
History prints the names, dates, and sizes, and modifier of all
versions of the named files, looking backwards in time, stored
in the dump file system. If the file exists in the main tree,
the first line of output will be its current state. For example,
The –v option enables verbose debugging printout. The –D option causes diff(1) to be run for each adjacent pair of dump files. The options –abcemnw are passed through to diff; the little–used diff option –f is replaced by the functionality described below, and the –r option is disallowed. The –u option causes times to be printed in GMT (UT) rather than local time. The –d option selects some other dump file system such as /n/bootesdump. The –f option forces the search to continue even when the file in question does not exist (useful for files that only exist intermittently).
Finally, the –s option sets the starting (most recent) date for
the output. |
EXAMPLES
Check how often a user has been logged in.
|
FILES
/n/dump |
SOURCE
/sys/src/cmd/history.c |
SEE ALSO
fs(4) yesterday(1) |