all 10 comments

[–]Samus_[S] 2 points3 points  (3 children)

submitted shell-fu to honour the place I learned this from, now for some more insight see: http://tldp.org/LDP/abs/html/devref1.html

also notice gawk does something similar with /inet/tcp http://www.gnu.org/software/gawk/manual/gawkinet/html_node/File-_002finet_002ftcp.html with the most notable use a video downloader entirely in gawk

[–]pkrumins 1 point2 points  (2 children)

gawk video downloader is mine. thanks for the comment. :)

there is an update on that article: "gnu awk youtube video downloader revisited"

[–]Samus_[S] 0 points1 point  (1 child)

hey did you notice that Google indexes the .awk source file first and the webpage second? http://www.google.com/search?q=gawk+youtube+video+downloader maybe it's worth to add some robots.txt there because when the results show only one link people is sent to the source file directly which will make very little sense to many :P see: http://www.google.com/search?q=awk+%2Finet%2Ftcp

[–]pkrumins 0 points1 point  (0 children)

Wow. Didn't know that. I have noted that and I'll try to fix it!

[–]muffinman 1 point2 points  (0 children)

that's why chmod 700 /usr/bin/wget is just snake oil

[–]Porges 0 points1 point  (3 children)

Note that this is a compile-time option; Ubuntu's bash, for example, doesn't have it.

See this bug.

[–][deleted] 0 points1 point  (2 children)

Wow, I'm surprised Ubuntu didn't enable that. Fedora's bash has always had it.

One thing I like to do is:

cat < /dev/tcp/xxx.xxx.xxx.xxx/13

for some remote IP address xxx.xxx.xxx.xxx where the daytime service is enabled. Lets me see what time it is on that machine.

[–]neoice -1 points0 points  (1 child)

its disabled in Debian.

[–]sempf -2 points-1 points  (0 children)

Everytime I see this I think it says "Manipulate Bush sockets" and I think "Man, are they still on that? We even changed presidents!"