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 command is used to switching between users in unix?
Which command will print your home directory on screen?
Can you explain a little bit about command substitution?
Which command is used to find whether the system is 32 bit or 64 bit?
How do I open a port?
How do I delete files from command prompt?
What does the metacharacter mean?
What is the difference between grep and grep?
What command is used to check the current users?
Explain mount and unmount command.
What is ‘ps’ command for?
What difference between cmp and diff commands?
What is the command to compare two files in unix?
What do chmod, chown, chgrp commands do?
Give the command for finding the current date.