Sends the stdout and stderr of cmd to file.out-common redirection operators command >file : redirects standard output of command into the file command>>file : append the standard output of command into the file commandfile : redirects the standard error into the file and pipe (|) is used to combine the command, in piping outout of first command goes as input to the second command. when we executes the command it generates the standard output as well as standard error and displays in standard output (terminal window) is default. when we redirect the standard error as well as standard output into the file, it will not send any output into the terminal window.