312-49 · Question #54
Which of the following commands shows you the names of all open shared files on a server and number of file locks on each file?
The correct answer is B. Net file. The 'net file' command (run on a Windows server) displays all currently open shared files, including the file ID, the full path, the username of who has it open, and the number of locks on that file. It is primarily used by administrators to monitor file-sharing activity and…
Question
Which of the following commands shows you the names of all open shared files on a server and number of file locks on each file?
Options
- ANet sessions
- BNet file
- CNetconfig
- DNet share
How the community answered
(24 responses)- B96% (23)
- C4% (1)
Explanation
The 'net file' command (run on a Windows server) displays all currently open shared files, including the file ID, the full path, the username of who has it open, and the number of locks on that file. It is primarily used by administrators to monitor file-sharing activity and, if needed, forcibly close open files using 'net file [ID] /close'. The other commands serve different purposes: 'net sessions' lists active client sessions, 'net share' manages shared resources, and 'netconfig' displays or modifies workstation/server configuration.
Topics
Community Discussion
No community discussion yet for this question.