5 ms·
>By default the echo command takes the input (standard input or stdin) from the keyboard and returns the output (standard output or stdout) to the screen. This
by ubercow13 10y ago
>By default the echo command takes the input (standard input or stdin) from the keyboard and returns the output (standard output or stdout) to the screen.
This isn't right is it? Echo doesn't read anything from stdin:
echo <<< HelloWorld
Does this command makes any sense?
$ ls | grep *.txt /tmp
grep: /tmp: Is a directory
I found the whole text-fu section quite confusing...
- jwilk 10y agoThis doesn't work either: $ echo The quick brown; fox jumps over the lazydog > sample.txt The quick brown bash: fox: command not found
- bdupharm 10y agoYou're terminating the command at ; so bash is looking for the fox command, which it can't find. Quote the text.
- tangue 10y agoYes I wouldn't recommend this one. And the emacs part is useless (it's a half baked cut and paste of the tutorial)