Useful z/OS UNIX commands

Refer to UNIX System Services Command Reference (SA22-7802) for more information on the following sample z/OS® UNIX commands:
  • Use the following z/OS UNIX ls command to display all files within a directory.
    ls –lR /var/zexpl/pushtoclient/
  • Use the following z/OS UNIX chown command to change the owner of a directory and all files within.
    chown –R IBMUSER /var/zexpl/pushtoclient/
  • Use the following z/OS UNIX chgrp command to assign the group to the directory and all files within.
    chgrp –R PTCADMIN /var/zexpl/pushtoclient/
  • Use the following z/OS UNIX chmod command to give the owner and group write permission to the directory and all files within. Other has read permission. All have execute permission.
    chmod –R 775 /var/zexpl/pushtoclient/