XK0-005 · Question #596
A systems administrator is gathering information about a file type and the contents of a file. Which of the following commands should the administrator use to accomplish this task?
The correct answer is A. file filename. The file command is used to determine the type of a file by examining its contents. It can recognize many different formats, such as text, binary, executable, compressed, image, audio, video, etc. It can also display some additional information about the file, such as encoding…
Question
A systems administrator is gathering information about a file type and the contents of a file. Which of the following commands should the administrator use to accomplish this task?
Options
- Afile filename
- Btouch filename
- Cgrep filename
- Dlsof filename
How the community answered
(46 responses)- A87% (40)
- B2% (1)
- C2% (1)
- D9% (4)
Explanation
The file command is used to determine the type of a file by examining its contents. It can recognize many different formats, such as text, binary, executable, compressed, image, audio, video, etc. It can also display some additional information about the file, such as encoding, size, dimensions, etc.
Topics
Community Discussion
No community discussion yet for this question.