On Thu, Jun 30, 2016 at 02:21:23PM +0100, Laurie Brown wrote:
On 30/06/16 13:37, Jonathan McDowell wrote:
On Thu, Jun 30, 2016 at 01:23:43PM +0100, Laurie Brown wrote:
On 30/06/16 12:16, Jonathan McDowell wrote:
Does "grep -r -I 192.168.100.1 /" not do what you want?
That won't work if there are lots and lots of files to search...
Why not?
Because you it can fail with an "Argument list too long" message. It's a right pain, but using xargs as I previously suggested avoids that.
It very rarely happens to me nowadays though, in fact I don't think I've seen that error in years.