Entering multiple commands

You can enter more than one command at a time by separating your commands with a semicolon (;).

For example, if you want to determine your current working directory, invoke pwd. If you want to see what the directory contains, use ls. You could combine the two commands as follows:

pwd; ls

As described in Pipes,” you can also use pipes (|) to connect commands on the command line.