1.

-t option sorts the files according to ____(a) last modification time(b) last access time(c) ASCII collating sequence(d) file sizeThe question was posed to me during an online exam.Origin of the question is Listing Directory Contents: Is Command topic in section The File System of Unix

Answer»

Correct option is (a) last modification time

For explanation: ls-t displays the FILENAMES based on the value of the last modification time of the FILE i.e. it sorts all the filenames in ACCORDANCE with their last modification time.



Discussion

No Comment Found

Related InterviewSolutions