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 does && mean in linux?
What are the options of wc command?
What is tail command in linux?
What is df -i command?
What does mkdir mean?
What is tty in linux process?
What is ulimit command?
What is pwd in linux command?
What command would you use to check how much memory is being used by linux?
How do you clear the screen in linux?
Does linux cp command overwrite?
If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?
When and how linux developed?
What does grep grep do?
How can we increase disk read performance in single command in Linux?