nginx in ubuntu code example
Example 1: install nginx on ubuntu 18.04
sudo apt update
sudo apt install nginx
Example 2: install nginx
sudo apt-get update
sudo apt-get -y install nginx
Example 3: ubuntu install nginx
sudo apt update
sudo apt install nginx