1.

-a option is used with ls command for what purpose?(a) for showing hidden files(b) for showing executables(c) for showing directories(d) for multi columnar outputThis question was addressed to me by my college director while I was bunking the class.My question comes from Listing Directory Contents: Is Command in chapter The File System of Unix

Answer»

Right option is (a) for showing hidden files

The best EXPLANATION: -a option when used with ls command displays all the files including hidden files. Files beginning with a ( . ) are listed using -a option. There are certain files (FILENAMES beginning with a. ) These files are not listed without -a option.



Discussion

No Comment Found

Related InterviewSolutions