Building off of what Steve said, you could use the following if you just
want to see if it is a SSD or not. #!/bin/sh disk0=`diskutil info disk0
| grep "Solid State" | awk '{ print $3 }'` disk1=`diskutil info disk1 |
grep "Solid State" | awk '{ print...