* On 2020 02 Apr 07:48 -0500, 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.

As /usr/sbin is not in your user's $PATH by default, it is in root's
$PATH.  You can use either sudo blkid or su to root to run such programs.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

Attachment: signature.asc
Description: PGP signature

Reply via email to