List open files of a process

Show all files that nginx has open: regular files, sockets and pipes

lsof -p $(pgrep nginx) | head -30

tool
lsof19 commands
tags
lsoflinuxdebug

More lsof commands

all 19 lsof commands