Comment by cratermoon
1 day ago
There's also /dev/tcp in Linux
exec 5<>/dev/tcp/www.google.com/80
echo -e "GET / HTTP/1.1\r\nhost: www.google.com\r\nConnection: close\r\n\r\n" >&5
cat <&5
1 day ago
There's also /dev/tcp in Linux
exec 5<>/dev/tcp/www.google.com/80
echo -e "GET / HTTP/1.1\r\nhost: www.google.com\r\nConnection: close\r\n\r\n" >&5
cat <&5
/dev/tcp does not exist in Linux.
It is an abstraction in GNU Bash.
Pardon, you're correct.
It’s still really cool. I had no idea that existed