if i have one folder say aaa and that folder having 100
files from that 50 files there aaa word is written how to
find in which aaa is writen and without opening that file
Answer Posted / nixor
grep -rl aaa ./aaa/*
That would list the file name where the string aaa is
present. (-l switch)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I move to root in linux?
What does (cd dir && command) do?
What does the command env do?
How much ram do I have linux?
What is the difference between find and locate command in linux?
What is parallel ssh?
What file type is a makefile?
Brief about the command nn?
How do you run command every time a file is modified?
What is a good processor speed?
What does r mean linux?
How to give acl permission in numerical mode on linux?
How does grep work in linux?
What is nbtstat command?
What is pwd in linux command?