Can't run "sudo lvdisplay" command on RHEL 5.4

237 views Asked by At

I want to run "sudo lvdisplay" command on RHEL 5.4 , but it replying that sudo: lvdisplay: command not found. If I run "sudo /sbin/lvm lvdisplay". it running , what should I do ? please help.

1

There are 1 answers

0
allo On

Maybe redhat doesn't have this alias script.

You can add a shell alias, create a script or just run the cmdline you're mentioned.