Harry Putnam wrote:
   sudo cd dir
  sudo: cd: command not found

sudo will execute its arguments. 'cd' can't be executed, it is a shell builtin.

Try:
$ sudo bash -c "cd dir; do_what_you like"

Christoph
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Reply via email to