?
Which of the following commands is used to identify the type of file by context?
Answer & Solution
Correct Answer:
Option
C
In Unix, the file command is used to determine the type of a file by examining its contents and context. When you run file followed by a filename as an argument, it analyzes the file and provides information about its type, such as whether it is a text file, binary file, directory, symbolic link, etc.
So, file is the command used to identify the type of file by context.
So, file is the command used to identify the type of file by context.
Join the Discussion
Login to post a comment or share your explanation.
Login