1Z0-821 · Question #72
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?
The correct answer is B. file shutdown. 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.
Question
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?
Options
- Aod shutdown
- Bfile shutdown
- Ctest shutdown
- Dcksum shutdown
- Eattrib shutdown
How the community answered
(25 responses)- A8% (2)
- B72% (18)
- D4% (1)
- E16% (4)
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.
Topics
Community Discussion
No community discussion yet for this question.