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 / vaithy

grep -r aaa -e aaa

where,
-r recursive (includes all files, Folders and subfolders)
-e pattern (to be searched)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is makefile in unix?

546


How do I run a shell script?

510


What command would you use to check how much memory is being used by linux?

561


What is build process?

570


What is a simple command?

570






What is whois command?

538


What is du command in linux?

552


What is the root directory linux?

506


Explain about refer?

540


List the three main parts of an operating system command?

505


You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?

504


What are the 4 kinds of sentences with examples?

591


what is the roles and responsibilities in linux system admin having 2yrs exp..?

3769


What are the basic command in linux?

540


What does kill in linux?

542