Re: blkid command missing?
On Thu, Apr 02, 2020 at 08:47:15PM +0800, kaye n wrote:
> Hello Friends!
> kaye@laptop:~$ blkid
> bash: blkid: command not found
> kaye@laptop:~$ whereis blkid
> blkid: /usr/sbin/blkid /usr/share/man/man8/blkid.8.gz
^^^^
> As you can see, blkid is present in a couple of directories but I cannot
> run it.
> Thank you for your time!
Being that it is located in /usr/sbin and that on most systems /usr/sbin
is not in the PATH of unprivileged users, you should either add
/usr/sbin to your PATH or (more properly) use sudo or become root to run
blkid.
Regards,
-Roberto
--
Roberto C. Sánchez
Reply to: