Is there any command in Unix, other than:ls, to list the
files in a directory?
The answer will be highly appreciated...
Answer Posted / niranjan
To display filenames in direcory
1) ls -> basic command
2) echo *
3) ll -> in few unix versions u'll find this
To display only direcories :-
ls -lrt|grep ^d -> useful command if u want to display only directories:):):)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does this command do,"$more readme.txt“?
Explain ‘system calls’ with respect to unix commands?
Which command can you use to find the currently running process in unix server?
What command will change your prompt to myprompt?
Name the unix command to find how many days the server has been up.
How does the system know where one command ends and another begins?
What is the unix command to confirm a remote host is alive or not?
Which command is used to find whether the system is 32 bit or 64 bit?
Is it inbetween or in between?
Describe the usage and functionality of the command rm –r * in unix?
Does cp command overwrite files?
What are the commands in UNIX to list the files in a Directory?
Who command in unix operating system?
What is merge command 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)?