Skip to main content
Version: v2.10.x

zos file

zos file

zos > file

Manage USS files in a z/OS system.

Usage​

zos file list status [fileName*] --path | -p <path> --limit <limit>

zos file list mounts [fileSystemName*] --mount-point | --mp <mount-point-path> --limit <limit>

Action​

Positional Argument​

Option​

Examples​

@bot zos file -p '/u/user'
@bot zos file list -p '/u/user'
@bot zos file list status -p '/u/user'
  • Show the files and directories in path '/u/user'.
@bot zos file list status clean* -p '/u/user'
  • Show the files and directories whose names start with clean in path '/u/user'.
@bot zos file list mounts
  • Show all mounted filesystems.
@bot zos file list mounts --mp '/a/ibmuser'
  • Show filesystems which are mounted to a specific path.
@bot zos file list mounts sac*
  • Show mounted filesystems with name starting with 'sac'.