lock file!

I found a lock file like this
lrwxrwxr-x 1 sskb apollo 16 Oct 22 22:00 lock -> hostname:2747

(pl. note that hostname is a number like 123.4.5.6)

but this was not shown in the file manager eventhough I had selected to show the hidden files.

I could not even read the contents.

can anybody give me info about this?

Thanks in advance
:confused:

Which directory is this in?

It was in my home directory.

/user/sskb

but after once shutting down and rebooting, i could not find the file there.

There's not too much to go on here. That "file" is a symbolic link. You can create it by typing the command:
ln -s 1.2.3.4:2747 lock
But it's really only a file if "1.2.3.4:2747" also exists. Otherwise it's just a symbolic link that points nowhere.

If it is a file, a process may have it open. Or I'll bet that some process had a socket connected to 1.2.3.4:2747. Either way, lsof can tell you what the process is.

As I Investigated the probe I think it was because of a system crash while my friend was using my system, I'm not sure about this and I don't think there is any socket associated with the number "2747", though I do not have much knowledge about sockets. Is that possible to be the process id that caused the system crash?

:rolleyes: