Quote:
find all files which have not been modified within 10 days
|
find . -type f -mtime +11
Do this in the directory you want to search in. This will look for only files that are 11 or more days older (files that have not been modified within 10 days).
Quote:
list of processes without any associating terminal
|
ps -axuf | grep -v tty[1-6] | grep -v pts
Quote:
I'd like also to write a shell script which would find the other hardlinks of a file
|
Interesting request...now why you would want to do this? There are 2 types of links in linux: hard links and symbolic (soft) links. If you don't see a softlink in your directory, then the rest are hard links.
find . -type l
This will show you soft links in the directory that you run this under. You can modify this so that it will disregard the list of files that this 'find' command sees. I'll give that simple project to you. Let us know if you need help (after you play around with some scripting of course)
.
-twantrd