# Who is running any command like VIM
With help of locate or whereis find the path of command then use like.
lsof /usr/bin/vim
lsof /bin/bash
lsof /dev/cdrom
#who is access file in the directory
lsof +D /home
lsof +D /bin
#show with PID how many open file
lsof +p 3124
lfof -c httpd
lsof -c vim
#what file accessed by user
lsof -u bnm
lsof -u ^root
# what process running on port
lsof -i :80
lsof -i :22
lsof -i @feenixdv.com
lsof -i TCP:80
lsof -i UDP:923
#what open file were deleted
lsof -a +L1 /