1.

Which command is used for knowing the file type?(a) file(b) type(c) filetype(d) type of fileThe question was asked in an internship interview.My question comes from Counting File Data: wc Command topic in portion Handling Ordinary Files of Unix

Answer»

The correct option is (a) file

For explanation: UNIX provides the file command for determining the type of file i.e. WHETHER it is a text file, SCRIPT file, ARCHIVE file or any other type of file.



Discussion

No Comment Found

Related InterviewSolutions