From 2a9ade7cf6080d1649dbd0a03de61f3387325ae9 Mon Sep 17 00:00:00 2001 From: garhve Date: Mon, 2 Jan 2023 06:25:43 +0800 Subject: bash cheatsheet --- public/post/mess-with-bash-2/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'public/post/mess-with-bash-2/index.html') diff --git a/public/post/mess-with-bash-2/index.html b/public/post/mess-with-bash-2/index.html index 5064a1d..867eca3 100644 --- a/public/post/mess-with-bash-2/index.html +++ b/public/post/mess-with-bash-2/index.html @@ -53,7 +53,8 @@

-

More info is in this tutorial

+

More info is in this tutorial +Bash scripting cheatsheet

all value expansions (ie. all syntax with a $ prefix) can only expand inside quoted arguments if the argument was double-quoted . Single quotes will turn the dollar-syntax into literal characters, causing bash to output the dollar rather than expand its value in-place!

-- cgit v1.2.3-70-g09d2