Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They have to an extent. The /proc file system on Linux is directly inspired by plan 9 IIRC. Other things like network sockets never got that far and are more related to their BSD kin.


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.

    ls /dev/tcp
It is an abstraction in GNU Bash.


Pardon, you're correct.


It’s still really cool. I had no idea that existed


Not at all, /proc comes from Solaris.


Looking into it we are both wrong. Plan 9 implemented /proc after 8th edition Unix. Solaris and Linux both implemented it at the same time in 1992.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: