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.

Localization<br />

Exit Values<br />

Portability<br />

Related Information<br />

mkfifo<br />

major minor<br />

major gives the major device type; minor, the minor device type. You can<br />

specify device types in decimal, hexadecimal, or octal.<br />

mknod differentiates between octal and decimal as follows:<br />

v Any number that starts with 0 but not 0x is octal.<br />

v Any number that starts with 0x is hexadecimal.<br />

v Any number that does not start with 0x or 0 is decimal.<br />

For additional information on assigning major and minor numbers, see z/<strong>OS</strong><br />

<strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Planning.<br />

p Creates a FIFO special file (that is, a named pipe).<br />

mknod uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

0 Successful completion<br />

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

v Inability to create the desired file<br />

v Incorrect major or minor number<br />

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

v Too few command-line arguments<br />

v A missing major or minor device number<br />

<strong>UNIX</strong> systems. Within P<strong>OS</strong>IX, mknod has been superseded by mkfifo for pipes.<br />

The P<strong>OS</strong>IX family of standards has not yet designed an alternative to mknod for<br />

special files.<br />

more — Display files on a page-by-page basis<br />

Format<br />

Description<br />

mknod<br />

more [–ceiSsU] [–A|–u] [–n number] [–P prompt] [–p command] [–t tag] [file ...]<br />

more [–ceiSsU] [–A|–u] [–n number] [–P prompt] [–t tag] [+command] [file ...]<br />

more displays files one page at a time. It obtains the number of lines per page from<br />

the environment or from the –n option. If standard output (stdout) is not a terminal<br />

device, the number of lines per page is infinite.<br />

more displays the files specified by file ... (that is, a list of filenames) one at a time.<br />

When more finishes displaying one file, it begins displaying the next one in the list.<br />

If you give – as one of the filenames, more reads the standard input at that point in<br />

the sequence.<br />

Chapter 2. Shell command descriptions 429

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

Saved successfully!

Ooh no, something went wrong!