Änderungen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche

DCEM's bash script howto

Ein Byte hinzugefügt, 12:21, 8. Jan. 2020
/* expansions: on - EOF needs to be unquoted */
==== expansions: on - EOF needs to be unquoted ====
EOF is unquoted => all lines of the here-document are subjected to parameter expansion, command substitution, and arithmetic expansion, the character sequence \newline is ignored, and ‘\’ must be used to quote the characters ‘\’, ‘$’, and ‘`’.
 
<code>
cat > /etc/nginx/snippets/letsencrypt.conf << EOF
610
Bearbeitungen