run an html file from terminal using headless browser code example Example: how to run html file in ubuntu pushd <filename>.html; python3 -m http.server 9999; popd;