Solved

tracking where file was copied from ?

Posted on 2004-03-28
7
221 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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…
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.:

705 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

19 Experts available now in Live!

Get 1:1 Help Now