101-500 Exam QuestionsBrowse all questions from this exam

101-500 Exam - Question 103


Which of the following commands determines a file's format by using a definition database file which contains information about all common file types?

Show Answer
Correct Answer: B

The 'file' command in Unix-like operating systems is used to determine the type of a file. It uses a definition database file called 'magic' which contains information about various file types to identify formats. This is the only command in the given options that matches this description.

Discussion

4 comments
Sign in to comment
CuriousLinuxCat
Jul 24, 2021

I love magic!

NeoSam999Option: B
Jan 15, 2023

https://phoenixnap.com/kb/linux-file-command

AmycertOption: B
Feb 8, 2023

file is the only option there

ResekoOption: B
Sep 2, 2023

file — determine file type