?
Solved

tracking where file was copied from ?

Posted on 2004-03-28
7
Medium Priority
?
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month15 days, 7 hours left to enroll

743 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