source: lab/trunk/bin/smartgrep @ 25

Last change on this file since 25 was 25, checked in by mitty, 14 years ago
  • add original .bashrc .profile from Ubuntu Hardy
  • bin/smartgrep
    • grep smartctl output
  • bin/svnst
    • snip svn status output
  • bin/wake
    • wakeup on LAN helper
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.