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 / vaithy
grep -r aaa -e aaa
where,
-r recursive (includes all files, Folders and subfolders)
-e pattern (to be searched)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is simple command?
What signal is ctrl c?
What are the commands in linux?
How do you run a command for a limited time?
Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.
What are the ms dos commands?
What are linux commands useful?
How can I type in cmd?
How can you check the amount of lines in a file?
How do I find the console in linux?
What is the use of mv command in linux?
What are runlevels in linux?
What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?
What does grep grep do?
How do you grep?