16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Usage notes<br />

Localization<br />

Exit Values<br />

Portability<br />

Related Information<br />

df, find, ls<br />

–k Displays file sizes in 1024-byte (1KB) units.<br />

–r Reports files that cannot be opened and directories that cannot be read;<br />

this is the default.<br />

–s Does not display file size totals for subdirectories.<br />

–t Displays the total amount of space used by all pathnames examined.<br />

–x Displays file sizes for only those files contained on the same device as<br />

pathname.<br />

du computes file space in units of 512 bytes. The actual disk space used by files<br />

and directories may be more, since some systems allocate space in units of some<br />

multiple of a sector. On <strong>UNIX</strong> <strong>System</strong> V, it is usually two sectors; on <strong>UNIX</strong> Version<br />

7, it is one sector.<br />

The allocation unit is file system specific.<br />

du uses the following localization variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

0 Successful completion<br />

1 Failure due to any of the following:<br />

v Incorrect command-line option<br />

v Cannot access a directory<br />

v Cannot read a directory<br />

v Cannot access file information<br />

P<strong>OS</strong>IX.2 User Portability Extension, X/Open Portability Guide, <strong>UNIX</strong> systems.<br />

The –t option is an extension to the P<strong>OS</strong>IX standard.<br />

echo — Write arguments to standard output<br />

Format<br />

echo argument ...<br />

tcsh shell: echo [-n] word ...<br />

du<br />

Chapter 2. Shell command descriptions 245

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!