what is the command to list files in a directory in UNIX?
Answer Posted / yuvaevergreen
ls | grep "^-"
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you grep a case insensitive?
What is the behavioural difference between cmp and diff commands?
What does pipe () return?
Which command is used to delete all files in the current directory and all its sub-directories?
How do I clear my terminal history?
What are grep patterns?
What command will change your prompt to myprompt?
Which command is used to copy files?
What is rmdir command?
What is pipe command in unix?
What are the commands in UNIX to list the files in a Directory?
Describe the zip/unzip command using gzip.
Why is grep called grep?
How do I search for a file in unix command?
What is grep and how do you use it?