ExercisesExercisesRedirection: myname.txtRedirection: Saving HistoryBonus: Pipe OperatorQuestions & AnswersWhat are the three data streams in Bash? CLICK FOR ANSWERSTDINSTDOUTSTDERRWhat is the purpose of STDIN? CLICK FOR ANSWERSTDIN is the mechanism for passing data to a bash command or script.What is the purpose of STDOUT? CLICK FOR ANSWERSTDOUT is the repository of any standard output generated by the command or script.What is the purpose of STDERR? CLICK FOR ANSWERSTDERR is the repository of any error output generated by a command or script.When running a command or script from a bash shell where is STDOUT & STDERR directed? CLICK FOR ANSWERBy default STDOUT & STDERR are routed to the terminal that invoked the command or script.How can STDOUT be redirected from a terminal window to a file? CLICK FOR ANSWERBy using the STDOUT redirection write operator > and designating a file to write the contents to.Additionally, the STDOUT redirection append operator >> and designating a file to append the contents to.How can STDOUT be redirected to the STDIN of the following command? CLICK FOR ANSWERBy using the pipe operator |, the STDOUT generated by one command is converted into the STDIN of the following command.