Search Results

Search: Posts Made By: WoodenSword
9,432
Posted By WoodenSword
thank you very much for your replies!!!
thank you very much for your replies!!!
9,432
Posted By WoodenSword
thank you anbu23 very much!! this is what i...
thank you anbu23 very much!!

this is what i wanted!
But one last thing.When i try this it brings me only the file names as an output. Can i see where the words are found in the output, like a...
9,432
Posted By WoodenSword
Ok.here is an example. I have 3 files: ...
Ok.here is an example. I have 3 files:

text.txt ->This file contains the word hello
text2.txt ->this file contains the word hello,friend,george
text3.txt ->this file contains the word...
9,432
Posted By WoodenSword
thank you, but i said to the previous post this...
thank you,
but i said to the previous post this is not what i want.this will give me and the files that only contain word1 and not word2 and word3 and word4.

I want the files returned to contain...
9,432
Posted By WoodenSword
Well thank you very much, but i don't want...
Well thank you very much,

but i don't want to use the command perl. I want to use the commands find,xargs and grep. Is it possible??
9,432
Posted By WoodenSword
thank you, but i don't think that this is what...
thank you,
but i don't think that this is what i want.this will give me and the files that only contain word1 and not word2 and word3 and word4.

I want the files returned to contain all 4 words
9,432
Posted By WoodenSword
Search files that all contain 4 specific words
Hello,

I want an one line command that brings me back all the files in a folder that contain 4 specific words anywhere inside them.

I want to use find,xargs and grep. for example i know for one...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 06:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy