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 is grep and how do you use it?
What does touch command do in unix?
What do know about tee command and its usage?
What is the difference between grep and grep?
What is the behavioural difference between cmp and diff commands?
What is the use of egrep command in unix?
hw will u use awk in replacing cahrs and files
What is time_t?
Does cp command overwrite files?
What is unix command line?
What do know about tee command?
What does the md command do?
What is the command to view process running?
What does the command '$ls | wc –l > file1' do?
What is grep r?