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 in grep command?
Explain ‘system calls’ with respect to unix commands?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
How do you grep recursively?
What command will change your prompt to myprompt?
What is {} in find command?
What does the command ' $who | sort –logfile > newfile' do?
What is the significance of the 'tee' command?
Which command is used to create a directory?
Why is shebang used?
What is the general format of unix command syntax?
What is the functionality of a top command?
what is the advaantage of each user having its own copy of the shell?
What is the command to view process running?
How do I find previous commands in unix?