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 is the comma to show the space allocation of files?

778


What does the metacharacter mean?

813


How do I search for text in vi?

772


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

897


How many unix commands are there?

834


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1986


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

987


How do I use grep to search for a file?

796


What is unix command?

887


What is grep and how do you use it?

800


What are the dos commands?

886


Is ‘du’ a command? If so, what is its use?

846


What is the size of time_t?

899


How do you grep a case insensitive?

746


What command is used to check the current users?

804