You can use a semicolon to run multiple commands on the same line. For example, to create a new directory named newdir and change to newdir all at once, you can run the following command:
elliot@ubuntu-linux:~$ mkdir newdir; cd newdir
elliot@ubuntu-linux:~/newdir$
So you use a semicolon to separate each command. In general, the syntax for running multiple commands on the same line is as follows:
command1; command2; command3; command4; ....
We often like to check the calendar and the date at the same time, right? For that, we will create an alias named date so that every time we run date, it will run both the date and calendar commands:
elliot@ubuntu-linux:~$ alias date="date;cal"
Now let's run date and see what's up:
Notice here that we used the alias name date, which is already the name of an existing command; this is completely fine with aliases.