Solved

tracking where file was copied from ?

Posted on 2004-03-28
7
224 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now