LoginSignup
3
3

More than 5 years have passed since last update.

シェルスクリプトのシングルクォーテーションとダブルクォーテーションの違い

Last updated at Posted at 2015-07-16

シングルクォーテーションのほうが強めに特殊文字を文字化する

~ % name=shogo
~ % echo "My name is $name"
My name is shogo
~ % echo 'My name is $name'
My name is $name
3
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3