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 difference between cmp and diff commands?
Explain mount and unmount command.
hw will u use awk in replacing cahrs and files
What are filter commands in unix?
Are you in or at the office?
Write a command that will display files in the current directory, in a colored, long format.
How do I find previous commands in unix?
What does pipe () return?
What is grep command in unix with examples?
What is rmdir command?
What are some command words?
Explain the steps that a shell follows while processing a command.
What is the use of egrep command in unix?
What is ‘ps’ command for?
What is s and g in sed command?