ubuntu 18.04 terminal clear ports code example Example: stop port ubintu sudo kill -9 `sudo lsof -t -i:9001`