This question already has an answer here:
I have a file named file.txt which has some content say 'abcdef', when I do
cat < file.txt I get the output abcdef but when I do
echo < file.txt, no output is returned. Why doesn't the input redirection work with echo but works with cat?