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 / brian
Find ./aaa -type f -exec grep -l aaa {} \;
This will list the paths and file names containing the text aaa in any file in the directory named aaa.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I run a command in linux?
How do I find the process id in linux?
Where can I find bash in linux?
What is difference between sh and bash?
What is tail command in linux?
What is Data Command?
what is the fastest way to enter a series of commands from the command-line in linux
Is python faster than bash?
Brief about the command nn?
What are the ms dos commands?
What is the default number of shell commands saved in the history list of .cshrc file?
What is clang tidy?
How do I change shell in linux?
Describe the mknod command and when you’d use it.
How do you create a blank file in linux?