[smartmontools-support] Compiled 7.2 from source, but smartctl fails?

Claudio Kuenzler napsty at gmail.com
Wed Jul 7 07:40:47 CEST 2021


> # smartctl
> -bash: /usr/sbin/smartctl: No such file or directory
>
> Per the documentation and actual location is /usr/local/sbin/smartctl.
> So what the heck?
>

Make sure "/usr/local/sbin" is in your $PATH variable.
Check with:

echo $PATH

Or move /usr/local/sbin/smartctl to /usr/sbin/smartctl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listi.jpberlin.de/pipermail/smartmontools-support/attachments/20210707/9d1e31f6/attachment.htm>


More information about the Smartmontools-support mailing list