Example Usage

Setting GNU Bash as default Shell

  1. This step requires elevated permissions. If needed, seek help from a system administrator.

    • Run the following command. Replace USERID with your z/OS user ID and /path/to/bash with the actual path to your GNU Bash executable:
      tsocmd "ALTUSER USERID omvs(program(/path/to/bash))"
  2. Verify the change. Use tsocmd "LISTUSER USERID OMVS" | grep PROGRAM to confirm GNU Bash is set as your OMVS program segment.

  3. Log out and log back in. Changes take effect after logging out and logging back into your z/OS system.

Setting UTF-8 encoding

To work with the Unicode characters in your scripts or commands, set the LANG environment variable.

export LANG=en_US.UTF-8

Test UTF-8

Try copying and pasting an emoji and running echo. If configured correctly, the emoji is displayed.