How to view a text file on your Linux or Unix box like a pro
@nixCraft A.K.A. how to use the most clock cycles for the least amount of work.
@nixCraft For me it's a toss-up between head and one of the editors.
@nixCraft cp test /dev/stdout
@[email protected] @nixCraft any reason not to make cat an alias of that?

@locness3 @nixCraft You’d need a function, cat needs to handle multiple files, cp with 2+ origins wants the destination to be a directory.

Also it makes coreutils says rather funny things if you want the behavior of argument-less cat:

$ cp /dev/stdin /dev/stdout cp: '/dev/stdin' and '/dev/stdout' are the same file