You are having an issue with the shutdown command. You wish to determine if the file is a script
or an executable program. Which command would you use to determine this?
A.
od shutdown
B.
file shutdown
C.
test shutdown
D.
cksum shutdown
E.
attrib shutdown
Explanation:
The file command determines the file type file tests each argument in an attempt to
classify it. There are three sets of tests, performed in this order: filesystem tests, magic tests, and
language tests. The first test that succeeds causes the file type to be printed.
Reference: man file
B