GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HIST(1) FreeBSD General Commands Manual HIST(1)

hist, history - print file names from the dump

hist [ -vdu ] [ -s yyyymmdd ] files ...

Hist prints the names, dates, and sizes 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,
hist ~rsc/.bash_history
    
produces
May 19 16:11:37 EDT 2005 /home/am3/rsc/.bash_history 6175
May 18 23:32:16 EDT 2005 /dump/am/2005/0519/home/am3/rsc/.bash_history 5156
May 17 23:32:31 EDT 2005 /dump/am/2005/0518/home/am3/rsc/.bash_history 5075
May 16 07:53:47 EDT 2005 /dump/am/2005/0517/home/am3/rsc/.bash_history 5065
    
The -v option enables verbose debugging printout.
The -d option causes diff(1) -c to be run for each adjacent pair of dump files, while -b runs diff -cb.
The -u option causes times to be printed in GMT (UT) rather than local time.
Finally, the -s option sets the starting (most recent) date for the output.

Examine changes in block.c:
hist -d block.c
    

/dump
by convention, root of dump file system

/src/cmd/hist.c

yesterday(1), vbackup(8)

Should be called history, but that name is taken by sh(1).

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.