z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Combining commands

z/OS UNIX System Services User's Guide
SA23-2279-00

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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014