Table of Contents

lsof

Description

list open files

Example: Which ports are open?

Example: Show files open by Quicktime

lsof -c QuickTime

Example: Show files open by a user

lsof | grep ' root ' | awk '{print $NF}' | sort | uniq | wc -l
179