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 are the dos commands?
How does shebang work?
What are the general commands in using unix os for a beginner?
What is the unix command to confirm a remote host is alive or not?
What is the use of cut command in unix?
Enumerate some of the most commonly used network commands in unix?
What is .sh file?
Describe the usage and functionality of the command rm –r * in unix?
What are awk commands?
How can you see the command line history?
Name the general commands in using unix os for a beginner?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is time_t?
Why is grep called grep?
hw will u use awk in replacing cahrs and files