3 lines
83 B
Bash
3 lines
83 B
Bash
#!/bin/sh
|
|
/usr/sbin/smartctl -A $1 | grep $2 | tail -1| cut -c 88- | cut -f1 -d' '
|
#!/bin/sh
|
|
/usr/sbin/smartctl -A $1 | grep $2 | tail -1| cut -c 88- | cut -f1 -d' '
|