List currently open files

My script needs sorted list of currently open files and paths.

Hi cirno,

the shell command ‘lsof’ might be, what you are looking for - read ‘man lsof’ for details …

D.