замена строки в нескольких файлах

find -type f -iname *.txt | xargs perl -p -i -e 's/foo/bar/g'

User tags

replication bind rpm fio rsync vrrpd sysrq vim debootstrap routing mariadb arch radeon centos 7 language slab youtube iptables fido7 /etc/network/interfaces tiger mdadm security erase find noop glxinfo pulseaudio backup ddos apache parallel bug gdb virt-install drupal asoundrc corosync equalizer NFS cpu su cgroups bash CentOS sysctl.conf leap second alsa .htaccess exim4 xhost fail2ban grub freedos RT vlan gtk arp X forwarding route virtualbox hdparm cpanm dhclient chroot encrypt debian cfq core dump tin iowait wordpress sublime htop dstat kernel newgrp docker ardour HDFS exim 3Ware boot cluster squeeze nfs4 nginx DRBD storage video zRam tar PTR rtsp pvmove openvpn wget profiling scsi puppet Salt conntrack lenny dns top git lubuntu xen MODx OpenStack firefox SYN tftp java gre chromium SuperMicro sysctl performance groups hotplug shellshock munin iSCSI backtrace lts dovecot jackd soa glusterfs Areca etch iostat elliptics usb limit_conn alien nvidia docker-compose MegaRAID perlbrew graylog2 xfs taskset in-addr.arpa xargs mount lxc LSI bscan sysresccd CPAN dhcp perl OpenSSL netfilter SSD pam idmapd deb LVM proxy qemu php vrrp regex raid5 APU rkhunter tzdata mysql ansible ipmi rtl8723be sg quagga ha lstat source ip dpkg tun ipmitool StorMan shorewall arping initrd sysfs numa ssh Adaptec keyboard flash SpamAssassin opreport Swift PXE bonding bacula KVM qcow2 AMD cpu usage ubuntu ulimit raid pacemaker tool HTTPS oprofile build gpg bridge vtysh apt iops opcontrol virsh search mkfs sftp ps swap cache