mohan
mohan

Reputation: 1530

Send data to a port via linux command

I want to send simple data (say like "hello world") to another system (and to a particular port number) via Linux command. I am looking for a command similar to client program? Can any one help me out?

I was trying with CURL but I am not getting it correctly. If it possible in CUrl can you give some examples?

Thanks in advance

Upvotes: 2

Views: 3258

Answers (1)

Jenny D
Jenny D

Reputation: 1245

The program you're looking for is called "nc".

Upvotes: 5

Related Questions