Skip to content

Instantly share code, notes, and snippets.

@n0x00
n0x00 / web-servers.md
Created February 1, 2016 12:18 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000

Keybase proof

I hereby claim:

  • I am n0x00 on github.
  • I am n0x00 (https://keybase.io/n0x00) on keybase.
  • I have a public key whose fingerprint is E98A 5000 EB06 E65E 43AC 7447 5B45 81FB 11D6 4664

To claim this, I am signing this object: