Tuesday, June 8, 2010

(how to if) sudo: command not found

man sudo have "-s" option (run command)

Respond:
mem@nano:~> sudo xm list
sudo: xm: command not found

with "-s" option ->
mem@nano:~> sudo -s xm list
Name ID Mem VCPUs State Time(s)
CentOs4.8x86_64 7 1024 4 -b---- 915.4
Domain-0 0 7044 4 r----- 4674.8

No comments:

Post a Comment