source: lab.git/bin/smartgrep @ 25b41dc

trunk
Last change on this file since 25b41dc was 46dc3f4, checked in by mitty <mitty@…>, 15 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

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@25 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

  • Property mode set to 100644
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.