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
What is the use of finger command in linux?
What does uname command do?
Explain the ‘ls’ command in linux
How to give acl permission in numerical mode on linux?
Which Command used to lock user password in Linux?
Write a command that will display all .txt files, including its individual permission.
How do you kill a process in linux?
What does mkdir mean?
What is the command to delete a file linux?
Information technology is widely used in
What is netstat command in linux?
How to recover /etc/passwd file and /etc/shadow file?
How do I run a .sh file in linux?
How do I find the console in linux?
What is clang tidy?