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

Why is grep called grep?

1026


What is {} in find command?

817


How do I use grep to search for a file?

810


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

937


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

875


What is awk command used for?

807


What is the general format of unix command syntax?

1424


What is the comma to show the space allocation of files?

802


Which command should you use to find the remaining disk space in unix server?

1009


What is a bash command?

870


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

850


What are some command words?

859


What is the difference between cat and more command?

935


Are you in or at the office?

861


Explain ‘library functions’ with respect to unix commands?

859