sudo apt-get install -y code example
Example: sudo apt-get install -y
Using the -y flag (or --assume-yes) automatically assumes that
your answer to any prompts will be yes. This allows you to install
packages without having to confirm anything.
Using the -y flag (or --assume-yes) automatically assumes that
your answer to any prompts will be yes. This allows you to install
packages without having to confirm anything.