Re: sudo and globbing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Globbing is done by your shell, i.e. before sudo is executed.  The
shell can't read those files, so you lose.

Perhaps use: sudo sh -c 'ls /root/inst*'

Tim.
*/

Attachment: pgp00704.pgp
Description: PGP signature


[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux