Joined October 2014
·

Victor Mendonca

GeekIt Consulting Inc.
·
Canada
·
·

You should be able to just change the protocol to udp, like "(echo > /dev/udp/$SERVER/$PORT)"

Posted to Coderwall - Markdown Cheat Sheet over 1 year ago

Great topic. I would add that you can use <br> for a new line.

Here's another one. I've been using it for years:

$ type my-ip
my-ip is aliased to `wget http://checkip.dyndns.org/ -O - -o /dev/null | cut -f7 -d"<" | cut -f2 -d">" '

Output would be:

$ my-ip
Current IP Address: xxx.xxx.xxx.xxx
Achievements
99 Karma
86,940 Total ProTip Views
Interests & Skills