Example Usage
Setting GNU Bash as default Shell
-
This step requires elevated permissions. If needed, seek help from a system administrator.
- Run the following command. Replace
USERIDwith your z/OS user ID and/path/to/bashwith the actual path to your GNU Bash executable:tsocmd "ALTUSER USERID omvs(program(/path/to/bash))"
- Run the following command. Replace
-
Verify the change. Use
tsocmd "LISTUSER USERID OMVS" | grep PROGRAMto confirm GNU Bash is set as your OMVS program segment. -
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.