history of a file

Hi every one,

Plz help me, what commands are helpful to know the complete history of a file in unix .
like, ls -lrt will give the group & user created & time last accessed.

I need to know particularly where that file come from like from which machine it is ftp'ed.

Thanks.

No such thing is available in retrospect. You have to plan ahead and script or log all ftp sessions BEFOREHAND if you want to know where a file came from via ftp. IF you are logging ftp, you can use the mtime of the file to search ftp logs for who was active then.

There are various apps to help monitor your system - daily activities, user accounting,
network traffic, and so on.