2 ms·
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
by cratermoon 1y 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
- Zambyte 1y ago/dev/tcp does not exist in Linux. ls /dev/tcp It is an abstraction in GNU Bash.
- cratermoon 1y agoPardon, you're correct.
- WD-42 1y agoIt’s still really cool. I had no idea that existed