[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Explain difference between *.sh and “*.sh”
From: |
ikhxcsz7y xmbott |
Subject: |
Re: Explain difference between *.sh and “*.sh” |
Date: |
Thu, 17 Jun 2021 22:16:13 +0200 |
example
mkdir 1.sh 2.sh
find . -name *.sh
->> find error args
On Thu, Jun 17, 2021, 22:14 ikhxcsz7y xmbott <ikhxcsz7y@gmail.com> wrote:
> *.sh expands to each matched file as argument, the in quotes expands to
> the text in the quotes, not file names
>
> On Thu, Jun 17, 2021, 22:01 Tony Esposito <qaw1plo9@gmail.com> 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”
>>
>