Services and User Management

A downloaded file named report.pdf is suspected to be a different type of file than its extension suggests. The administrator must confirm its actual content type and also display its inode number and size. Which two commands provide this information? (Choose two.)

Choose 2 answers

Show the answer

Correct answersA. file report.pdfB. stat report.pdf

file identifies the type by examining content, and stat shows the file's inode number and size. stat -f is tempting but reports on the filesystem holding the file, and ls -l shows size but neither inode nor content type.