apt-get install top code example
Example: ubuntu install htop
sudo apt update
sudo apt install htop
# To run
htop
# or for Ubuntu versions before 16.04
sudo apt-get update
sudo apt-get install htop
# To run
htop
sudo apt update
sudo apt install htop
# To run
htop
# or for Ubuntu versions before 16.04
sudo apt-get update
sudo apt-get install htop
# To run
htop