Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Web server in 50 lines of bash (github.com/charliesome)
2 points by esad on Oct 29, 2012 | hide | past | favorite | 1 comment


Or in 3 lines:

    #!/bin/sh
    cd $1
    python -m SimpleHTTPServer 8000




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

Search: