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


Setting options for a shell session

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

The set command lets you set options, or flags, for your shell session. These flags control the way the shell handles certain situations.

  1. To display the shell flags that are currently set, enter:
    set –o
  2. To turn on an option, enter:
    set –o name
    where name is the name of the option you want to turn on. If you want an option turned on for every shell session, put the set command in your login script (the script specified on the ENV variable).
  3. To turn off an option, enter:
    set +o name

    Contrary to what you might expect, - means on, and + means off.

The following discussion highlights some of the options you may find useful. For all the options, see the set command description in z/OS UNIX System Services Command Reference.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014