help-bash
[Top][All Lists]
Advanced

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

quotes around a variable


From: wilson
Subject: quotes around a variable
Date: Sat, 16 Apr 2022 19:29:01 +0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

when doing bash script, I am somewhat confused that, when I should use Double quotes around the variable, when I should use single quotes around the variable, and when I don't need the quotes. can you help give a guide?

Thank you.



reply via email to

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