z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Redirecting input from a file

z/OS UNIX System Services User's Guide
SA23-2279-00

You can redirect input in much the same way that you redirect output. A command that normally takes input from standard input can be redirected to take input from a file instead.

Example: To send the file power to another user, issue:
mailx DEEJ <power

Result: The file power becomes input to mailx, rather than your input from the keyboard.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014