Is there any command in Unix, other than:ls, to list the
files in a directory?
The answer will be highly appreciated...
Answer Posted / kishore devkate
Hi Yankee,
There are so many commands to display the files in the
present working directory without using ls command, find
the below commands,
echo *
dir
du -sk *
....etc
but we have to think logical how to view the file without
using ls.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What does pipe () return?
Name the unix command to find how many days the server has been up.
Describe the usage and functionality of the command rm –r * in unix?
What is the command to view process running?
What is {} in find command?
What are filter commands in unix?
Explain the steps that a shell follows while processing a command.
What is the unix command to confirm a remote host is alive or not?
What is $0 bash?
Why is it called a shebang?
How do I run a whois command?
What is grep in bash?
What is the command to compare two files in unix?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?