Linux - Understanding an stdin/stdout command “<” [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite













This question already has an answer here:



  • Why does the less-than sign not work as a replacement for cat in bash?

    3 answers



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).



I would like to kindly inquire what is difference does it make adding the "<" symbol?



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







share|improve this question













marked as duplicate by Jeff Schaller, Romeo Ninov, Stephen Kitt linux
Users with the  linux badge can single-handedly close linux questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Jun 14 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 at 0:53














up vote
0
down vote

favorite













This question already has an answer here:



  • Why does the less-than sign not work as a replacement for cat in bash?

    3 answers



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).



I would like to kindly inquire what is difference does it make adding the "<" symbol?



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







share|improve this question













marked as duplicate by Jeff Schaller, Romeo Ninov, Stephen Kitt linux
Users with the  linux badge can single-handedly close linux questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Jun 14 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 at 0:53












up vote
0
down vote

favorite









up vote
0
down vote

favorite












This question already has an answer here:



  • Why does the less-than sign not work as a replacement for cat in bash?

    3 answers



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).



I would like to kindly inquire what is difference does it make adding the "<" symbol?



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







share|improve this question














This question already has an answer here:



  • Why does the less-than sign not work as a replacement for cat in bash?

    3 answers



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).



I would like to kindly inquire what is difference does it make adding the "<" symbol?



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





This question already has an answer here:



  • Why does the less-than sign not work as a replacement for cat in bash?

    3 answers









share|improve this question












share|improve this question




share|improve this question








edited Jun 14 at 0:34









Jeff Schaller

30.8k846105




30.8k846105









asked Jun 14 at 0:17









Fukkatsu

11




11




marked as duplicate by Jeff Schaller, Romeo Ninov, Stephen Kitt linux
Users with the  linux badge can single-handedly close linux questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Jun 14 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.






marked as duplicate by Jeff Schaller, Romeo Ninov, Stephen Kitt linux
Users with the  linux badge can single-handedly close linux questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Jun 14 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 at 0:53
















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















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




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










1 Answer
1






active

oldest

votes

















up vote
0
down vote













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.






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    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.






    share|improve this answer



























      up vote
      0
      down vote













      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.






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        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.






        share|improve this answer















        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.







        share|improve this answer















        share|improve this answer



        share|improve this answer








        edited Jun 14 at 0:48









        Jeff Schaller

        30.8k846105




        30.8k846105











        answered Jun 14 at 0:35









        Fukkatsu

        11




        11












            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?