Re: OT: What is the meaning of /proc/$PID/fd/* files?

2013-02-19 Thread Jochen Spieker
Matej Kosik: > > I am trying to figure out the meaning of: > > /proc/$PID/fd/* > > files. These files represent the open files of a process. On recent systems you can even see the associated "real" files, if any: # ls -l /proc/6373/fd total 0 lr-x-- 1 root root 64 Feb 19 10:25 0 -> /

Re: OT: What is the meaning of /proc/$PID/fd/* files?

2013-02-19 Thread Joao Luis Meloni Assirati
> I am trying to figure out the meaning of: > > /proc/$PID/fd/* > > files. These are links that point to the open files of the process whose pid is $PID. Fd stands for "file descriptors", which is an integer that identifies any program input or output in UNIX-like systems. > and then if I t

OT: What is the meaning of /proc/$PID/fd/* files?

2013-02-19 Thread Matej Kosik
Hello, I am trying to figure out the meaning of: /proc/$PID/fd/* files. As: - their name suggests - as most of the descriptions on the web around indicate - and consistently with wishful thinking I thought that writing to /proc/$PID/0 would mean that designated process will receive th