User Tools

Site Tools


bash_oneliners

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
bash_oneliners [2020/06/10 17:27]
admin
bash_oneliners [2022/07/08 11:14] (current)
admin
Line 29: Line 29:
 <code> <code>
 free && sync && echo 3 > /proc/sys/vm/drop_caches && free free && sync && echo 3 > /proc/sys/vm/drop_caches && free
 +</code>
 +  * rescan all SCSI buses
 +<code>
 +for i in /sys/class/scsi_host/host{0..32}/scan; do echo "- - -" > $i; done
 </code> </code>
bash_oneliners.txt ยท Last modified: 2022/07/08 11:14 by admin