/etc/rc.d/rc.docker <command>
Available commands: start stop restart status
docker <command> <containername>
Available commands: start stop restart pause logs
Print all container names:
docker ps --format ‘{{.Names}}’
Print all container images:
docker ps --format ‘{{.Image}}’
/etc/rc.d/rc.nginx <command>
Available commands: start stop restart status
/etc/rc.d/rc.php-fpm <command>
Available commands: start stop restart status
/etc/rc.d/rc.libvirt <command>
Available commands: start stop
List all domains:
Available commands: start shutdown reboot suspend
/etc/rc.d/rc.samba <command>
Available commands: start stop
Available commands: reboot poweroff shutdown
dd if=/dev/sda of=/mnt/disk1/unraid.img
for drive in $(ls -la /dev | grep -Ev 'sda|sd[a-z][0-9]' | grep sd[a-z] | awk '{print $10}'); do hours=$(smartctl --all /dev/${drive} | grep Power_On_Hours | awk '{print $10}'); echo "Power on Hours for ${drive}: ${hours}"; echo ''; done