Umleitungen – Ausgabe- und Eingabekanäle in der Bash-Shell umleiten

Als Systemadministrator leitest du täglich Ausgaben von Befehlen um, um Logs zu sichern, Fehler zu isolieren oder Skripte zu automatisieren. Umleitungen helfen dir, stdout und stderr gezielt in Dateien zu schreiben, ohne dass der Bildschirm überflutet wird. Sie sind essenziell für effiziente Troubleshooting und Script-Entwicklung in jeder Linux-Umgebung. Standardausgabe umleiten Die Standardausgabe (stdout, Dateideskriptor 1) leitest du mit dem Operator > in eine Datei um. Die Shell […]

https://andreas-moor.de/umleitungen-ausgabe-und-eingabekanaele-in-der-bash-shell-umleiten/

Here-documents allow redirection of subsequent Dockerfile lines to the input of RUN or COPY commands. If such command contains a here-document the Dockerfile considers the next lines until the line only containing a here-doc delimiter as part of the same command.

Dockerfiles: here-documents
https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/reference.md#here-documents

#dockerfile #HereDocuments

buildkit/reference.md at master · moby/buildkit

concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit - buildkit/reference.md at master · moby/buildkit

GitHub
Bash Heredoc Tutorial For Beginners - OSTechNix

HereDoc, acronym for Here Document, is an input Redirection method to pass multiple inputs to a program or command in Bash.