<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>The issue is not where the binary actually is, found it... the
issue is the documentation is wrong. The instructions state that
the binary will be placed at /usr/local/bin. But that is not the
case. Please update the documentation. Also, the unit file for
systemd, defaults to the wrong directory as well. It should
default to /usr/local/bin, if in fact that is the documented and
actual default location of a make and make install sequence with
no change of the directory destination. Surely the documentation
can be updated, right?</p>
<p>-Schor<br>
</p>
<div class="moz-cite-prefix">On 7/7/2021 04:13, Carlos E. R. wrote:<br>
</div>
<blockquote type="cite"
cite="mid:0a91070a-4a33-7a7e-dd8b-69c42678ba7a@telefonica.net">
<blockquote type="cite">
<br>
# smartctl
<br>
-bash: /usr/sbin/smartctl: No such file or directory
<br>
<br>
Per the documentation and actual location is
/usr/local/sbin/smartctl.
<br>
So what the heck?
<br>
</blockquote>
<br>
I don't have the initial message of the thread.
<br>
<br>
It is possible that you *had* /usr/sbin/smartctl, and your session
still remembers it. So, check to see what is there:
<br>
<br>
ls -l /usr/sbin/smartctl
<br>
<br>
and then perhaps try a new session. Probably just do "su -" in a
new terminal would suffice.
<br>
<br>
Also, verify what you have in /usr/local/sbin/:
<br>
<br>
ls -l /usr/local/sbin/smart*
<br>
<br>
Notice that even if your current directory is "/usr/local/sbin/",
bash will look at the path and ignore the current directory when
told to execute a program.
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Smartmontools-support mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Smartmontools-support@listi.jpberlin.de">Smartmontools-support@listi.jpberlin.de</a>
<a class="moz-txt-link-freetext" href="https://listi.jpberlin.de/mailman/listinfo/smartmontools-support">https://listi.jpberlin.de/mailman/listinfo/smartmontools-support</a>
</pre>
</blockquote>
</body>
</html>