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
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Explain command to show the space allocation of files?
What is the use of sed command in unix?
Can you enlist some commonly used network commands?
Why is it called a shebang?
Which command can you use to find the currently running process in unix server?
Describe the zip/unzip command using gzip.
What do know about tee command and its usage?
What does the “echo” command do?
What are grep patterns?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Give the command for finding the current date.
What is the command to find maximum memory taking process on the server?
What is unix command line?
What is merge command in unix?