Lists open files and the corresponding processes. Note: In most cases, you need root privilege (or use sudo) because you want to list files opened by others.
lsof {{/path/to/file}}
lsof -i :{{port}}
lsof -t {{/path/to/file}}
lsof -u {{username}}
lsof -c {{process_or_command_name}}