1.

file command identifies the file type by examining the magic number of the file.(a) True(b) FalseThe question was asked in examination.This intriguing question originated from Counting File Data: wc Command in section Handling Ordinary Files of Unix

Answer» RIGHT option is (a) True

The explanation: Magic number is the number which is embedded in the first few bytes of a FILE. EVERY file has a unique magic number which helps in IDENTIFYING the file TYPE.


Discussion

No Comment Found

Related InterviewSolutions