A bash forkbomb

не стоит запускать без ulimit -u кол-во_процессов
$ :(){ :|:& };:

Bash: поиск в истории набранной строки клавишами вверх/вниз

$ cat .inputrc
"\e[A": history-search-backward
"\e[B": history-search-forward

multithreaded parallel rsync

find -type d | xargs -I '{}' -P 10 -n1 rsync -a --no-r remote:path/'{}'/ '{}'/

rsync args:
--no-r No recursive

xargs args:
-P 10 Run up to 10 processes at a time.
-n 1 Use 1 argument per command line.

poweroff if idle

while : ; do if [[ `vmstat 60 2 | tail -n 1 | awk '{print $15}'` > 90 ]]; then poweroff; fi ; done

.bash_profile vs .bashrc

User tags

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