Linked Questions

616 votes
3 answers
553k views

What is a “bind mount”? How do I make one? What is it good for? I've been told to use a bind mount for something, but I don't understand what it is or how to use it.
Gilles 'SO- stop being evil''s user avatar
88 votes
8 answers
92k views

time is a brilliant command if you want to figure out how much CPU time a given command takes. I am looking for something similar that can list the files being accessed by a program and its children. ...
Ole Tange's user avatar
  • 37.5k
83 votes
5 answers
179k views

Given file path, how can I determine which process creates it (and/or reads/writes to it)?
Anton Barkovsky's user avatar
45 votes
8 answers
48k views

Three files have suddenly appeared in my home directory, called "client_state.xml", "lockfile", and "time_stats_log". The last two are empty. I'm wondering how they got there. It's not the first time ...
Wolf's user avatar
  • 3,095
39 votes
5 answers
108k views

Is there any way in unix to find out who accessed certain file in last 1 week? It may be user or some script ftp it to some other place. Can I get a list of user name who accessed certain file? How ...
Jack's user avatar
  • 391
8 votes
2 answers
8k views

I was wondering if there are any tools to keep track of the access history of a file. I know of stat, but as far as I understand, it only returns information about the last time the file was accessed.
Amelio Vazquez-Reina's user avatar
4 votes
2 answers
2k views

Possible Duplicate: Is it possible to find out what program or script created a given file? Can I find somewhere in logs the times of creation of hidden files or directories under the /home/...
xralf's user avatar
  • 15.3k
1 vote
1 answer
3k views

Is there a way to find out what is trying to mount this file? Jul 13 14:27:24 myhost automount[13527]: lookup(file): lookup for tmp_dir failed Something is looking for "tmp_dir", and I've grepped ...
Banjer's user avatar
  • 2,980
1 vote
1 answer
2k views

Suppose the specific process is a long-running background process A. I wanted to execute a bash script command/script hooks for process A right after process A is started, for example getting its pid ...
deka108's user avatar
  • 111
1 vote
1 answer
356 views

The problem is that I'm not being able to keep track of all my files and I'm also tired of not telling which ones are important and which ones are a temporary file that some random programmer decided ...
Lerian Acosenossa's user avatar
2 votes
2 answers
101 views

If I run a command in bash, is there any way to determine which files and directories were modified as a result of running that command? For example, if i run: export $MYDIR="/home/users/myuser/" ...
moebius's user avatar
  • 123