13
I’m learning now to mess with bash (Ubuntu terminal) and would like to understand the difference between these three operators.
I think that < It’s file-related, but I can’t explain what he does descriptively. I think it is to send the file value to the command to be executed.
Example:
cat < index.php
#Exibe o conteúdo do arquivo
When I use <<, opens a new line, without executing the previous command (I don’t understand what it does right).
Example:
cat <<
>
>
And the <<< seemed to me to be related to expressions.
Example:
cat <<< "O número é $((13 + 2))"
O número é 15
- So, in which case do I use - <,- <<, or- <<<?
- What is the purpose of each? 
- What are they called? 
Related to What are the shell’s control and redirection Operators?. There are other interesting ones too, like
<>.– Dherik
follow the links, plus a great explanation still contains examples Here Documents Here Strings I/O Redirection
– quikkoo