Is there any command in Unix, other than:ls, to list the
files in a directory?
The answer will be highly appreciated...
Answer Posted / pritish
echo * | tr " " "\n"
this will display all the files in the current directory
sequentially...
you can also use dir command.
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Explain command to show the space allocation of files?
What is ‘ps’ command for?
How to display no of records in oracle using unix command?
Write a command to kill the last background job?
How do you grep recursively?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the use of awk command in unix?
What is grep and how do you use it?
Explain the steps that a shell follows while processing a command.
What is the function of grep command in unix?
What does the metacharacter mean?
Which unix command lists files/folders in alphabetical order?
What are awk commands?
What does the md command do?
What is difference between grep and find command in unix?