Linux: Send Networkpackets from a shell


the linux kernel has the ability to send simple network packets from a shell.

This sends a test message over udp port 515 to

michael@debdev ~ # echo "TEST MESSAGE" > /dev/udp/

This also works for tcp.

michael@debdev ~ # echo "TEST MESSAGE" > /dev/tcp/


Advertisment to support

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.