Created
August 10, 2018 15:40
-
-
Save jonnystorm/9c6cfe411fd5bf4e433fc01137c48412 to your computer and use it in GitHub Desktop.
hdparm: so danger, much exceptional
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[10:29:32] jstorm[1]@alarbus:~$ (man hdparm; hdparm 2>&1) | | |
grep -i dangerous | | |
sed -E 's/(\w+ dangerous|dangerous)/\n\1\n/i' | | |
sed -e 's/^are //' | | |
grep -i dangerous | | |
sort | | |
uniq -c | |
14 DANGEROUS | |
2 EXCEPTIONALLY DANGEROUS | |
7 EXTREMELY DANGEROUS | |
9 VERY DANGEROUS | |
[10:29:57] jstorm[1]@alarbus:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment