4 ms·
If you're going to write shell scripts or do anything sophisticated with the shell, it's worth understanding the difference. And there is a fundamental differen
by mtdewcmu 11y ago
If you're going to write shell scripts or do anything sophisticated with the shell, it's worth understanding the difference. And there is a fundamental difference. With |, standard input is hooked up to a pipe. With <, standard input is hooked up directly to the file. Sometimes it does matter.
- isolate 11y agoThe purpose cat serves is that it lets you forget about < until you really need it.
- throwaway999888 11y agoThe comparison was between cat + pipe and < ...