Rich Lafferty's LiveJournal (mendel) wrote,
Rich Lafferty's LiveJournal
mendel

  • Mood:

bash is terrifying me again

:) fishsticks$ exec 5<>/dev/tcp/www.perl.org/80
:) fishsticks$ echo -e "GET / HTTP/1.0\nHost: www.perl.org\n\n" >&5
:) fishsticks$ head -1 <&5
HTTP/1.1 200 OK
:) fishsticks$  ls /dev/tcp
ls: /dev/tcp: No such file or directory

Potentially handy, yes, but yeeesh.

Subscribe

  • We have a HOUSE

    Silly me, I mentioned this on Facebook and Twitter but forgot about here! As of June 15, nyxie and I will be owners of an actual HOUSE.…

  • The house hunt has begun!

    Woo-hoo, we're house-hunting! For the last little while, nyxie and I have been keeping an eye on the Toronto housing market on MLS, and…

  • sundials in the dark

    Walking through the U of T campus with nyxie at about 10 PM last night, we came across a sundial on a plinth with a plaque on the…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 9 comments