help-bash
[Top][All Lists]
Advanced

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

Re: Explain difference between *.sh and “*.sh”


From: Eli Schwartz
Subject: Re: Explain difference between *.sh and “*.sh”
Date: Thu, 17 Jun 2021 16:26:18 -0400

On 6/17/21 4:00 PM, Tony Esposito wrote:
> Hello,
> Given the command lines below and logged in as ‘root’ on RedHat Linux, why
> do I get different results?
> 
> find / -name *.sh
> 
> and
> 
> find / -name “*.sh”


Try running `set -x` first (it will show you the actual command that
gets run). Then run both of those commands. Compare their differences.


-- 
Eli Schwartz
Arch Linux Bug Wrangler and Trusted User

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]