cat > file vs. touch file cat file | cmd vs. cmd So even some of the thing listed are still not the best use case for cat
>* cat file | cmd vs. cmd I tend to prefer the cat version as the flow of the command follows the left-to-right direction in which I generally read, and it makes things easier for less experienced users to read and understand for the same reason. It does make things less efficient of course, as there is at least one extra memory-copy of everything and extra process context switching, but in most cases your drives or…