linux web server command line code example Example: linux start simple http server python -m SimpleHTTPServer # or the Python 3 equivalent python3 -m http.server