VirtualTam's bookmarks
Page 1 of 1
-
Here Documents - Bash Reference Manual
2023-09-11 The format of here-documents is:
1[n]<<[-]word 2 here-document 3delimiter
If any part of word is quoted, the delimiter is the result of quote removal on word, and the lines in the here-document are not expanded.
This is useful to write scripts that:
- write scripts (verbatim)
- execute a sequence of commands (verbatim) on a remote host
Page 1 of 1