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 / nixor
grep -rl aaa ./aaa/*
That would list the file name where the string aaa is
present. (-l switch)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Describe the mknod command and when you’d use it.
What is devops linux?
What are system commands?
Explain grep command.
Explain about gzip filename?
What does umask 077 mean?
please advice me what i have to prepare for NIC Exam(22-feb- 09). send me the question pattern for the 2 hrs exam. please sent it to manivannan_it15@yahoo.co.in
How do I find cpu in linux?
How to recover /etc/passwd file and /etc/shadow file?
How can I delete a file in linux?
Suppose I lost a root password and I need to give it, I treid to change it through single usermode even though I am not get a password, then what is the otherprocedure to give a root password?
Which command is used to uncompress gzip files?
What does comm do and how to use it?
How do you create a text file in linux?
In order to display the last five commands you have entered using the fc command, you would type?