source: lab/trunk/bin/smartgrep @ 38

Last change on this file since 38 was 38, checked in by mitty, 14 years ago
  • Property svn:executable set to *
File size: 102 bytes
Line 
1for DEVICE in `ls /dev/[hs]d?`
2do
3    echo -n "$DEVICE: "
4    sudo smartctl -a $DEVICE | grep $1
5done
Note: See TracBrowser for help on using the repository browser.