Code:
sudo lsof | egrep -i test
is what I'd use. Just tested it. Looks like lsof has gotten really slow. Took about 60 seconds before any useful output even started. I'm guessing there's a timeout required now - probably another snap related issue.
Editors that are smart don't open files and hold them. They use a temporary file for modifications, then apply those when the "write" or "save" is requested. I don't use kate, so I don't know how it works. I know the vim created a /tmp/.t.swp when I was editing /tmp/t. /tmp/t didn't show up in the output, just the .swp file.
Bookmarks