Computer Science - Unix - Discussion

Discussion :: Unix - Section 2 (Q.No.6)


Which command is used to list all the files with extension .lst?

[A]. ls -l *.lst
[B]. ls lst*
[C]. ls *.*
[D]. ls *[lst]
[E]. None of the above

Answer: Option A


No answer description available for this question.

Vishal said: (Mar 11, 2014)  
ls display all files of current directory, -l display all files in long listing form,* means start a file with any character and .ist is extension of file.

Nilesh S. said: (Sep 29, 2016)  
Here * means every file and every directory present in the current working directory.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.