HISTORY man page on Plan9

Man page or keyword search:  
man Server   549 pages
apropos Keyword Search (all sections)
Output format
Plan9 logo
[printable version]

HISTORY(1)							    HISTORY(1)

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  ver‐
       sions 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,

	      history /adm/users

       produces

	      May 14 15:29:18 EDT 2001 /adm/users 10083 [adm]
	      May 14 15:29:18 EDT 2001 /n/dump/2001/0515/adm/users 10083 [adm]
	      May 11 17:26:24 EDT 2001 /n/dump/2001/0514/adm/users 10481 [adm]
	      May 10 16:40:51 EDT 2001 /n/dump/2001/0511/adm/users 10476 [adm]
		   ...

       When  presented	with  a	 path of the form /n/fs/path, history will use
       fsdump as the name of the dump file system, and will print a history of
       path.

       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/bootes‐
       dump.

       The -f option forces the search to continue even when the file in ques‐
       tion 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.

	      history /usr/ches/tmp

FILES
       /n/dump

SOURCE
       /sys/src/cmd/history.c

SEE ALSO
       fs(4)
       yesterday(1)

								    HISTORY(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net