Computer Hacking Forensic Investigator (CHFI v10) — Question 242

Which of the following commands shows you the names of all open shared files on a server and the number of file locks on each file?

Answer options

Correct answer: B

Explanation

The correct answer is B, as the 'Net file' command specifically lists all open shared files along with their lock counts. Options A, C, and D serve different purposes: 'Net config' provides configuration settings, 'Net share' displays shared resources, and 'Net sessions' shows active sessions on the server.