3 ms·
The -a flag from my example should be an alias for --all (man smartctl | grep -A1 ' -a' | head -2). Is that not the case in your version?
by lucb1e 4y ago
The -a flag from my example should be an alias for --all (man smartctl | grep -A1 ' -a' | head -2). Is that not the case in your version?
- wutbrodo 4y agoDerp you are correct, sorry. Hopefully my comment is still useful for anyone who didn't know they needed smartmontools
- climb_stealth 4y agoPro tip: when writing out commands for people to read it helps to use the long form arguments. In this case passing '--all' instead of '-a' to smartctl. It makes it easier to read and more clear what specific options do. Same with calling things in scripts. Short form is for quick and dirty typing things, but not great for reading or comprehension :)
- lucb1e 4y agoFair point, yes, I should have done that!