What is heredoc in shell ?
A heredoc is a way to provide input to a command , by just writing it along the command , as in :
$ cat <<delm
> hello world
> delm
hello world
A heredoc is not about providing options or arguments to a command . The command must…