刷新linux硬盘存储接口
#!/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
#!/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