Inspect file descriptors directly from procfs.
Section: /proc Process Filesystem
List open descriptors via /proc
bash
bash
ls -l /proc/1234/fd | headExplanation
Inspect file descriptors directly from procfs.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing /proc Process Filesystem
Read process command line
Print the null-separated command line from /proc.
Read process environment
Inspect environment variables of a process when permitted.
Show kernel stack for PID
Inspect a sleeping task kernel stack when permitted.