Combining commands

There are several simple ways you can combine several commands on a single command line:
  • You can run a series of commands, one after the other:
    • Using a semicolon (;)
    • Using && and ||
  • You can run more than one command concurrently:
    • Using a pipe (|) or a filter with a pipe
    The output from the first command is piped to the next command as the first command is running.