Solved

tracking where file was copied from ?

Posted on 2004-03-28
7
225 Views
Last Modified: 2013-12-27
Dear all,

I would like to know if there is some kind of log file giving information from where I copied a specific file from .

Most of the time I keep copying files from one location to other within my directory and also from my co-workers directory . So if i delete the file or remove it , I kind of have to use find command to locate the file.. If there is any log file kind , I can check that and see where I copied that file from..

Thanks
0
Comment
Question by:sunray_2003
  • 4
  • 3
7 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 10700083
About your only option is your shell history (assuming you are running a non bourne shell), otherwise you may be able to extract the information from the BSM logs if you have auditing turned on.
0
 
LVL 49

Author Comment

by:sunray_2003
ID: 10700508
Tintin,

regarding shell history , which file i need to check . I use Tcsh or csh

and regarding BSM logs, as a user can I turn it on or should I ask Sys admin
0
 
LVL 48

Expert Comment

by:Tintin
ID: 10700522
Type in the 'history' command to see your command history.

The BSM logs are probably not the way to go as they can generate HUGE amount of logs and actually processing them to gain anything useful is not particularly easy.
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 49

Author Comment

by:sunray_2003
ID: 10701038
OH , TinTin.. I was very much familiar with history command... But i forget sometimes after copying or moving a file say a week ago.. I was wondering if that can got ..

I shall wait for other experts comments here and close the question

Thanks
0
 
LVL 49

Author Comment

by:sunray_2003
ID: 10701042
>> I shall wait for other experts comments

oops.. DIdnot mean to cut you off.. What I meant was .. " I shall wait for some other comments "
0
 
LVL 48

Accepted Solution

by:
Tintin earned 500 total points
ID: 10701121
Perhaps you could create a 'cd' alias that cd's and creates a log for you.
0
 
LVL 49

Author Comment

by:sunray_2003
ID: 10701331
>> Perhaps you could create a 'cd' alias that cd's and creates a log for you

OK.. I shall try this

0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question