You're viewing a comment by asperous and its responses.

August 05, 2013, 04:26

I see your point and for everyone that doesn't see this tip, it's a great one.

I personally just prefer to use cat. It keeps the data flow a nice left-to-right, which makes it easier to read.

Data flow <------
cmd < file | cmd

Data flow -------->
cat file | cmd | cmd

Comment Responses

Steve Massey Permalink
January 30, 2017, 00:18

you can do
<file cmd | cmd

which is the same as
cmd <file | cmd

but with the right flow

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "0day_132": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.