![](https://seccdn.libravatar.org/avatar/861b5545c111d2257fa12e533e723110.jpg?s=120&d=mm&r=g)
3 May
2003
3 May
'03
18:22
The 03.05.03 at 03:40, growbynet@hotpop.com wrote:
username@linux:/root> sudo shutdown -r now Password: sudo: shutdown: command not found
Of course. It means that sudo has not found the shutdown command. Type: sudo /sbin/shutdown -r now If you want to type less, add an alias: edit your "/home/user/.alias" file, and add the line: alias shutdown="sudo /sbin/shutdown -r now" Still, it will ask for your password - as it should be. I normally use "halt" (no parameters), and I always have got to be root to use that command, on all *nix versions I tried. Nothing new there... -- Cheers, Carlos Robinson