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 / pankaj kumar

grep -r aaa aaa

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is $@ in makefile?

564


You want to copy the user’s home directories to a new location. Which of the following commands will accomplish this?

568


How many types of dos commands are there?

586


What is ulimit command?

613


What is grep command in linux with examples?

553






Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.

1178


How do I run a command in linux?

554


What is s in permission linux?

517


How do I run bash on windows?

511


Describe the mknod command and when you’d use it.

547


How do I find the process id in linux?

531


Explain the linux ‘cd’ command options along with the description?

489


How do you kill a process in linux?

558


How do I run a script in linux?

546


What does chmod 644 do?

594