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
Explain the ‘ls’ command in linux
Main configuration file and command used for NFS enabling exported directories and deamons?
How do I permanently delete linux history?
What would be the result of the command paste -s dog cat?
what is the roles and responsibilities in linux system admin having 2yrs exp..?
How do I overclock my cpu?
What are the examples of simple command?
What is linux pwd (print working directory) command?
How do I check my cpu speed?
What is #!/ Bin sh?
What does p mean linux?
Which command is used to see the online manual?
Explain trap command; shift command, getopts command of linux?
How do you create a text file in linux terminal?
Explain difference between swap partition and swap file?