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 tty name?

562


How do I get to root in linux?

543


What does wc command do in unix?

527


How do I stop a linux job?

549


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

498






How do I test my cpu speed?

509


What are the basic commands for user management?

543


What does grep grep do?

515


What command do you type to find help about the command who?

540


The ‘logout’ built in command is used to

758


How can I check the exit status of my previous command in Linux operating system?

544


How can we increase disk read performance in single command?

550


What is linux pwd (print working directory) command?

519


Explain the ‘ls’ command in linux

552


How do I do a whois search?

554