On Mon, Feb 03, 2003 at 05:24:36AM -0800, Harry Putnam wrote:
> I didn't notice anything in man sudo to explain why globbing doesn't
> work using sudo.  At least in this instance
> 
>     sudo ls /root/inst*
>   ls: /root/inst*: No such file or directory

The correct syntax would be:
sudo sh -c "ls /root/inst*"

This is somewhat documented in the sudo man pages in the EXAMPLES
section.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to