Benutzer-Werkzeuge

Webseiten-Werkzeuge


coding:bash

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
coding:bash [2025/06/16 05:01]
admin
coding:bash [2025/06/16 05:06] (aktuell)
admin
Zeile 1: Zeile 1:
 [[:linux|Linux]] console is programmed using bash. Siehe auch [[coding:batch|batch]] for [[:windows|windows]]. [[:linux|Linux]] console is programmed using bash. Siehe auch [[coding:batch|batch]] for [[:windows|windows]].
  
-=====EOF===== 
  
-=====Kommentare===== 
 <code bash> <code bash>
 # This is a single line comment # This is a single line comment
Zeile 57: Zeile 55:
   echo "$key: ${fruits[$key]}"   echo "$key: ${fruits[$key]}"
 done done
 +</code>
 +
 +=====EOF=====
 +
 +<code bash>
 +cat <<'EOF'
 +Das ist ein Test
 +
 +Mehr Zeilen
 +EOF
 +</code>
 +
 +<code bash>
 +test=$(cat <<'EOF' 
 +Das ist ein Test
 +
 +Mehr Zeilen
 +EOF
 +)
 +</code>
 +
 +<code bash>
 +cat <<'EOF' > /test.txt
 +Das ist ein Test
 +
 +Mehr Zeilen
 +EOF
 </code> </code>
  
coding/bash.1750042901.txt.gz · Zuletzt geändert: 2025/06/16 05:01 von admin