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
How do you kill a process in linux?
What does grep grep do?
What does sh do in linux?
What is linux pwd (print working directory) command?
What does f mean linux?
Which command is used to find what is in your home directory?
What does chmod 644 do?
Which of the Commands delete the files from the /tmp directory, issued by non-root user?
Is python faster than bash?
Brief about FTP hostname?
You read an article that lists the following command: dd if=/dev/fdo bs=512 of=/new what does this accomplish?
What language is clang written in?
What is echo command in batch file?
How do I check my disk space?
Which command is used to delete a group?