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

  • Mood:

bash is terrifying me again

:) fishsticks$ exec 5<>/dev/tcp/
:) fishsticks$ echo -e "GET / HTTP/1.0\nHost:\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.


  • 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


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded