#!/bin/bash for i in /sys/class/scsi_host/*; do echo "- - -" > $i/scan; done
简写
for i in /sys/class/scsi_host/*; do echo "- - -" > $i/scan; done
原文地址:https://www.cnblogs.com/liweiming/p/10590279.html
时间: 2024-11-13 09:50:43
#!/bin/bash for i in /sys/class/scsi_host/*; do echo "- - -" > $i/scan; done
简写
for i in /sys/class/scsi_host/*; do echo "- - -" > $i/scan; done
原文地址:https://www.cnblogs.com/liweiming/p/10590279.html