Nice-to-know Unraid commands¶ Docker service¶ /etc/rc.d/rc.docker Available commands: start stop restart status Docker containers¶ docker Available commands: start stop restart pause logs Print all container names: docker ps --format ‘{{.Names}}’ Print all container images: docker ps --format ‘{{.Image}}’ Nginx¶ /etc/rc.d/rc.nginx Available commands: start stop restart status PHP¶ /etc/rc.d/rc.php-fpm Available commands: start stop restart status VM Service¶ /etc/rc.d/rc.libvirt Available commands: start stop List all domains: Domains¶ Available commands: start shutdown reboot suspend Samba¶ /etc/rc.d/rc.samba Available commands: start stop Unraid¶ Shutdown/Reboot¶ Available commands: reboot poweroff shutdown Run diagnostics¶ Tail the syslog¶ Look at the parameters in the config file¶ Create a backup image of your usb and store it on disk1¶ dd if=/dev/sda of=/mnt/disk1/unraid.img Copy files using midnight commander¶ Check power on hours for all drives¶ 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