what is the command to list files in a directory in UNIX?
Answer Posted / siva
Try this command
ls -lrt | grep "^-" - for list the only files
ls -lrt | grep "^d" - for list the only directory's
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain ‘system calls’ with respect to unix commands?
What is command statement?
What does this command do,"$more readme.txt“?
Describe the usage and functionality of the command rm –r * in unix?
What is difference between grep and find command in unix?
Name the general commands in using unix os for a beginner?
How do I use grep to find a file?
What are the commands in UNIX to list the files in a Directory?
hw will u use awk in replacing cahrs and files
What is the command to find hidden files in the current directory?
Can you explain a little bit about command substitution?
What is unix command?
What is {} in find command?
Does cp command overwrite files?
What does sed command do in unix?