what is the command to list files in a directory in UNIX?
Answer Posted / peeyush
ls -l |grep '^-'
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is .sh file?
Explain mount and unmount command.
What is grep short for?
Who command in unix operating system?
Explain command to display different lines that are found when compare two files?
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)?
How do I use grep to find a file?
How do I search for text in vi?
How does the system know where one command ends and another begins?
Write a command to display a file’s contents in various formats?
How do I find previous commands in unix?
What are reported commands?
What is pipe command in unix?
What difference between cmp and diff commands?
Can you explain a little bit about command substitution?