ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 278 - XK0-005 discussion

Report
Export

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?

A.
file filename
Answers
A.
file filename
B.
touch filename
Answers
B.
touch filename
C.
grep filename
Answers
C.
grep filename
D.
lsof filename
Answers
D.
lsof filename
Suggested answer: A

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, etc12

asked 02/10/2024
Carlos Cabezas
49 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first