You're replying to a comment by Mark.

Mark Permalink
February 17, 2009, 18:48
# On computer A with IP 192.168.1.10
$ cat file | nc -l -p 6666

And of course, if you've been following along for a week or two, you know that this (BING!) is a Useless Use of Cat!

Remember, nearly all cases where you have:

cat file | some_command and its args ...

you can rewrite it as:

some_command and its args ... < file

and in some cases, but not this one, you can move the filename to the arglist as in:

some_command and its args ... file

Just another Useless Use of the Internet...

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

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

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