How to search or find within a file in linux

type the below command and change the below criteria to suite to your search :

  • find /ENTER/PATH -type f -print0 | xargs -0 grep -i ENTER_TEXT_TO_SEARCH

 

Advertisements

One thought on “How to search or find within a file in linux

  1. ford mustang says:

    I would also love to add when you do not now have an insurance policy or you do not form part of any group insurance, you could possibly well benefit from seeking assistance from a health broker. Self-employed or those with medical conditions usually seek the help of one health insurance dealer. Thanks for your blog post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s