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

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

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