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


Using a semicolon (;)

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

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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014