3 ms·
The way I've done it: grep -r [something] * > foo What I now do instead: grep -r [something] * > .foo mv .foo foo Why it works: At least on bash, "*"
by AnimalMuppet 9y ago
The way I've done it:
grep -r [something] * > foo
What I now do instead:
grep -r [something] * > .foo
mv .foo foo
Why it works: At least on bash, "*" does not match hidden files (files that begin with "." such as ".foo").