How do you see open files and network connections of a process?

IntermediateConceptLinux and shell
Answer
lsof -p <pid>
ls -l /proc/<pid>/fd
ss -tnp | grep <pid>
All Real-World Interview questions Roadmap: Interview readiness

More on Linux and shell