MAC OS X, Linux, Windows and other IT Tips and Tricks
for i in $(ls /sys/class/scsi_host); do echo "- - -" > /sys/class/scsi_host/$i/scan ; done