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

Answer Posted / ravi

you can use the file command, eg file *. Actually file
command is used to display type of the file given as argument.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What difference between cmp and diff commands?

720


What is a bash command?

624


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

670


What is awk used for?

616


Differentiate cat command from more command.

574






What is the function of grep command in unix?

588


What does the md command do?

568


How do I use grep to search for a file?

580


What is the comma to display different lines that are found when compare two files?

593


Are you in or at the office?

611


Write a command to display a file’s contents in various formats?

623


Who command in unix?

571


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

955


Give the command for finding the current date.

581


Enumerate some of the most commonly used network commands in unix?

616