-a option is used with ls command for what purpose?

Giang Phạm

New member
-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 output
 
Answer: a
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.
Code:
$ ls  -ax
./	. ./	calendar
.file	.rhost	abc_001
 

Tìm kiếm

Back
Top