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 is ‘ps’ command for?
How does the system know where one command ends and another begins?
How do I delete files from command prompt?
What do chown command do?
What is the use of finger command?
What is the comma to display different lines that are found when compare two files?
What is the use of the tee command?
Differentiate cmp command from diff command.
What are reported commands?
What does the command ' $who | sort –logfile > newfile' do?
Why is awk called awk?
What are some command words?
What is a bash command?
What is {} in find command?
What is the command to compare two files in unix?