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 is the difference between cd and cd in linux?
The head command writes the how many lines of a file to screen?
What is grep command?
How many interfaces(ethernet cards) are working using single command?
Which Command used to lock user password in Linux?
What does free command do in linux?
What is make command in linux?
How does mkdir work in linux?
How do you run a command for a limited time?
You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?
What is the difference between locating and locate command?
How do I find cpu in linux?
What is ll command in unix?
What is whois command?
How do I check my cpu speed?