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

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

Building Debian packages of Perl modules

apt-get install dh-make-perl

dh-make-perl --build --cpan HTML::Template::JIT


cpan2deb Foo::Bar


If you are new to Perl, we recommend Learn Perl in 2 hours 30 minutes for a quick introduction, or the Modern Perl book, freely available in many formats. Both are excellent introductions to the language. For more books and documentation, check out http://learn.perl.org/ .

Installing Request Tracker

adduser rt
su - rt
wget ..../rt-4.2.2.tar.gz
tar xf rt-4.2.2.tar.gz
curl -L <a href="http://cpanmin.us" title="http://cpanmin.us">http://cpanmin.us</a> | perl - App::cpanminus
~/perl5/bin/cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
cd rt-4.2.2
./configure --prefix=$HOME --with-my-user-group
RT_FIX_DEPS_CMD='cpanm %s' make fixdeps
make install
adduser www-data rt

Prepare perl development environment

curl -L http://install.perlbrew.pl | bash

perlbrew install --64int stable
perlbrew list
perlbrew switch perl-...

curl -L https://cpanmin.us | perl - App::cpanminus

cpanm Mojolicious
cpanm Mango

User tags

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