Using a semicolon (;)

The shell lets you enter several commands on the same command line. To do this, just use the semicolon character to separate the commands; for example:
cd mydir ; ls
Also, if you have defined the alias:
alias l "ls –l"
you can enter:
cd mydir ; l
because you can use aliases such as l after a semicolon.