nvme command is unusable with error: bash: nvme: command not found

5.5k Views Asked by At

Drivers are loaded but I can't use the command:

lsmod | grep nvme
nvme                   32375  0 
nvme_core              58654  1 nvme

Error:

bash: nvme: command not found...

2

There are 2 best solutions below

0
On BEST ANSWER

You need to install it. On RHEL/Fedora systems:

sudo dnf install nvme-cli

Someone else can tell you how to do it for Ubuntu. (Sorry, I'm a Red Hat guy.)

0
On

on Debian/Ubuntu:

sudo apt install nvme-cli