This question already has an answer here:

I just started a short video course on Linux and kind of get the use and function of stdin and stdout. I saw on the course though that the instructor used cat < [nameOfExecutable]. I tried looking around though I can't seem to find what its call and what's for (possible due to my lack of fundamentals).

What is difference does it make adding the "<" symbol?

Let us say for example: cat < [nameOfExecutable] vs regular cat [nameOfExecutable]?

marked as duplicate by Jeff Schaller, Romeo Ninov, Stephen Kitt linux Jun 14 '18 at 5:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Thank you Jeff for editing my messages and helping me credit the correct person properly. Cheers! – Fukkatsu Jun 14 '18 at 0:53

I think I answered my own question using slm’s response on this thread: Why does the less-than sign not work as a replacement for cat in bash?

Seeing what happens behind the curtain opened my eyes on what's really going on.

Not the answer you're looking for? Browse other questions tagged or ask your own question.