Which of the following commands determines a file's format by using a definition database file which contains information about all common file types?
Which of the following commands determines a file's format by using a definition database file which contains information about all common file types?
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.
I love magic!
https://phoenixnap.com/kb/linux-file-command
file is the only option there
file — determine file type