Use netcat and do either "command | nc host port" or "echo 'string' |
nc host port". Your distro might have nc included already, if not try
http://netcat.sf.net.

On 8/9/06, jhuniepi <[EMAIL PROTECTED]> wrote:
is there a command in linux that sends a string to a tcp port (ex. http port
80) automatically?

example format:

# <linux command> <host> <port> <string>
--
cj pangilinan
linux user, java programmer
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph


_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to