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
What does awk stand for?
Does cp command overwrite files?
What is awk used for?
Explain ‘system calls’ with respect to unix commands?
How do I find previous commands in unix?
What happens when we execute a unix command?
What is the pipe command?
What is merge command in unix?
Explain command to view process running?
How do you repeat a command in terminal?
Why is it called a shebang?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is in grep command?
Differentiate cat command from more command.
What is grep in bash?