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 / m.krishna kumar
#cd aaa
#cat <file name> | grep aaa
this is work only if you know the file name otherwise it is
not use . other way is if you must count the file then find
the file name of the 50 file then use the above command.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are grep patterns called?
You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?
What is devops model?
How do I check dns entry?
How do I navigate in cmd?
What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?
What is Syntax of any Linux command?
What is the command can be run to remove all the rules in an iptable table?
What is unix finger command?
What is $@ in shell?
What is ls command and what it does?
What is clang space engineers?
What are different command to check ram, process and hdd of linux machine?
What are the linux commands used in devops?
Why is linux cpu usage so high?