Running lsof with the ___ option and a directory path lists open files found anywhere beneath that directory, searching…