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. For example, with this mailx command, you can send the file lessons to another user.
mailx JAYD <lessons
The file lessons 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