Lsof lists on its standard output file information about files opened by processes.
See man lsof or lsof --help for further information.
man lsof
lsof --help
lsof Cheat Sheet lsof Documentation