Linux - Understanding an stdin/stdout command â<â [duplicate]
Clash 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]
?
linux io-redirection command
marked as duplicate by Jeff Schaller, Romeo Ninov, Stephen Kitt
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.
add a comment |Â
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]
?
linux io-redirection command
marked as duplicate by Jeff Schaller, Romeo Ninov, Stephen Kitt
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
add a comment |Â
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]
?
linux io-redirection command
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
linux io-redirection command
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
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
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
add a comment |Â
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
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
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.
edited Jun 14 at 0:48
Jeff Schaller
30.8k846105
30.8k846105
answered Jun 14 at 0:35
Fukkatsu
11
11
add a comment |Â
add a comment |Â
Thank you Jeff for editing my messages and helping me credit the correct person properly. Cheers!
â Fukkatsu
Jun 14 at 0:53