1.

Which one of the following is not an attribute displayed by ls command?(a) file permissions(b) file ownership(c) links(d) word count of fileThe question was posed to me in an interview for internship.This question is from Listing File and Directory Attributes in portion Basic File Attributes of Unix

Answer»

Right option is (d) word count of file

To elaborate: When -l option is used with ls command it simply displays seven attributes of a file which are file type and permissions, LINKS, OWNERSHIP, group ownership, file SIZE, last MODIFICATION time, filename.



Discussion

No Comment Found

Related InterviewSolutions