Differences between revisions 3 and 4
Revision 3 as of 2019-12-14 12:25:10
Size: 411
Editor: PieterSmit
Comment:
Revision 4 as of 2019-12-14 12:25:47
Size: 458
Editor: PieterSmit
Comment: add Xargs
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Linux/FindGrepAwkSed

Describe Linux/FindGrepAwkSedXargs here.

Find files containing something in Linux

Search dir for files containing string and replace all of them

##e.g. search for tentant -> tenant
grep -irlZ 'tentant' ./ |  xargs -0  sed -i 's/tentant/tenant/g'


CategoryLinux

vigor: Linux/FindGrepAwkSedXargs (last edited 2020-06-26 13:19:18 by PieterSmit)