Ubuntu/Linux Commands
Service
sudo service network-manager restart
- Restart network manager (when wifi shuts off on idle)
Apt
sudo apt update
- Update packages
sudo apt dist-upgrade
- dist-upgrade is more complete than upgrade, because when dependencies change, those packages will be kept
back with apt upgrade.
sudo apt autoremove
- autoremove gets rid of those superfluous old linux kernels.
sudo apt clean
- clean cleans out the package cache.
Terminal
tput reset
- Clears terminal text