HISTORY(1) HISTORY(1)
NAME
history - print file names from the dump
SYNOPSIS
history [ -vDu ] [ -d dumpfilesystem ] [ -s yymmdd ] files
...
DESCRIPTION
History prints the names, dates, and sizes of all versions
of the named files, looking backwards in time, stored in the
dump file system. For example,
history /adm/users
produces
Jan 5 18:24:05 EST 1998 /adm/users 6945
Dec 19 10:16:06 EST 1997 /n/dump/1998/0105/adm/users 6945
Dec 16 11:37:12 EST 1997 /n/dump/1997/1219/adm/users 6926
Dec 3 15:46:00 EST 1997 /n/dump/1997/1216/adm/users 6910
...
The -v option enables verbose debugging printout.
The -D option causes diff(1) -n to be run for each adjacent
pair of files, while -b runs diff -nb.
The -u option causes times to be printed in GMT (UT) rather
than local time.
The -d option selects some other dump filesystem such as
/n/bootesdump.
Finally, the -s option sets the starting (most recent) date
for the output.
EXAMPLES
Check how often a user has been logged in.
history /usr/ches/tmp
FILES
/n/dump
SOURCE
/sys/src/cmd/history.c
SEE ALSO
fs(4)
yesterday(1)
Page 1 Plan 9 (printed 3/14/26)