sudo hdparm -t /dev/sda
dd if=/dev/zero of=_speedtest bs=512000 count=2048 && dd if=_speedtest of=/dev/null bs=512000 && rm _speedtest
sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
sudo shutdown -h now
sudo reboot
sudo pm-suspend
sudo ethtool eth0
sudo ethtool -s eth0 wol g
wakeonlan -i <ip> <mac-address>
iperf -s
iperf -c <ip>
rsync -az from/ login@host:/to/
ln -s <from> <to>
/etc/rc.local
With crontab:
sudo crontab -e
# and put at the end:
@reboot mycommand &
sudo rm /var/crash/*
uname -a
# to put in ~/.inputrc
"\e[A": history-search-backward
"\e[B": history-search-forward
ps aux | grep <name>