LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2007, 08:54 AM   #1
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Rep: Reputation: 31
history of a file


Hi!

is there way to see the history of a file. I'd like for example to know the dates of the last 5 changes and the name of the users who did them. does exist such a command?

thanks.
 
Old 06-27-2007, 09:55 AM   #2
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
SVN or CVS would work although these are applications, I am not to sure about a command to do that.
 
Old 06-27-2007, 10:31 AM   #3
Linville79
Member
 
Registered: Nov 2006
Location: Indiana, U.S.A.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134

Rep: Reputation: 16
You'll definitely need to use some sort of Source Control package (as mentioned above) if you're wanting to track file changes in detail.

Other options might be to view the command history of other users' shell, install and configure Tripwire to alert you to file changes, additions, and deletions, and then compare the file change alerts with the history files to determine who made changes.
 
Old 06-28-2007, 06:09 AM   #4
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
thanks for the answers. Well, I guess I'll do without it...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i erase my history file on logout yawe_frek Linux - General 7 11-25-2006 01:45 AM
Recent File History: how do you erase it? Yoozer Linux - Newbie 2 09-16-2005 06:34 PM
Bash history file jinksys Linux - Software 2 07-30-2005 04:58 PM
History file juno Linux - General 1 01-07-2003 02:26 AM
History file Eddie9 Linux - General 1 08-22-2002 11:10 AM


All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration