echo "- - -" > /sys/class/scsi_host/host[0-9]/scan for i in `ls /sys/class/scsi_host/`; do sudo echo "- - -" > /sys/class/scsi_host/$i/scan ; done
echo "- - -" > /sys/class/scsi_host/host[0-9]/scan for i in `ls /sys/class/scsi_host/`; do sudo echo "- - -" > /sys/class/scsi_host/$i/scan ; done