Is there any command in Unix, other than:ls, to list the
files in a directory?
The answer will be highly appreciated...

Answer Posted / chetan

Hi,

echo *.* will list out all the files in a directory.

( all files are assumed to be having some extension)

Is This Answer Correct ?    12 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sed awk grep?

613


Write a command that will display files in the current directory, in a colored, long format.

695


What is the use of the command 'ls -x chapter[1-5]' ?

666


Give the command for finding the current date.

590


Who invented grep?

664






What is the behavioural difference between cmp and diff commands?

688


What is awk good for?

592


What is in grep command?

654


What is the unix command to confirm a remote host is alive or not?

594


What is s and g in sed command?

567


What are awk commands?

590


How do I use nslookup?

579


What is the difference between awk and grep?

565


What is the command to find maximum memory taking process on the server?

678


What is the significance of the 'tee' command?

602