Linux Administration
medium

Questão de Linux Administration #019e3987

Enunciado da Questão
Linux Administration
#here-document
#heredoc
#input-redirection
#shell-redirection
#delimiter
Médio

Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?

A

<<

Correta
B

<|

C

!<

D

&<

Explicação Oficial / Explicações da Comunidade

The << operator is used in shell scripting for here-documents. It allows reading from the current input source until a specified delimiter string is encountered on a line by itself, with no trailing spaces. This is commonly used to provide multi-line input to commands.