cli

How to run multiple Linux commands from one line

There are two ways to make this happen.

The first is using the semicolon like so:

sudo apt-get update; sudo apt-get upgrade -y