use a html file terminal code example Example: how to run html file in ubuntu pushd <filename>.html; python3 -m http.server 9999; popd;