server 204 B

12345678
  1. #! /usr/bin/env bash
  2. # http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in
  3. DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  4. cd $DIR
  5. python -m http.server