我只是想知道如何在单引号内回显变量(我使用单引号,因为字符串中有引号).
echo 'test text "here_is_some_test_text_$counter" "output"' >> ${FILE}
任何帮助将不胜感激
string bash shell echo
bash ×1
echo ×1
shell ×1
string ×1