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 grep v grep do?
What is the function of grep command in unix?
What do chmod command do?
How can you see the command line history?
Who command in unix operating system?
What is command substitution?
What is unix command line?
What does pipe () return?
What is the search command in unix?
What is the command to compare two files in unix?
What do chgrp command do?
Write a command to display a file’s contents in various formats?
How does the system know where one command ends and another begins?
What is time_t?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.