It can be useful to get a list of all open files per user basis for a given Linux Mint / Ubuntu system.
To do this quickly, open Terminal and type :
This will generate an output of all open files by the user name specified. Run it as root to get a list of open files for any user.To make it more readable and stop scrolling through the screen, use the ‘less’ parameter :
The output will look something like below :
Hit the enter key to continue with the list or ‘q’ to exit lsof.