How to create your own redirection in Linux/Unix. Solution There are two types of redirection possible in UNIX/LINUX, Input and Output: 1.Output: In this , output can be diverted from standard output to some other file, and this is done by adding the notation > file is appended to any command that normally writes its output to the terminal output, the output of that command will be written to file instead of your terminal.example is : there is nothing displayed on the terminal as the details of all the users is written in users_file. 2.Like the ouput redirection where ouput is diverted to another file, in the same way input can be accessed from a file it is called input redirection.The less-than character < is used to redirect the input of a command.Both these can be used with any command for standard input/output respectively. Example: this counts the no of lines in users_file file..