Linux Command Output Redirection Rules

Here's another thing that I learned today -- command output redirection syntax. > redirects the program's output to the specified file which is specified afterwards. If > is preceded by ampersand, shell redirects all outputs (error and normal) to the file right of >. If you don't specify ampersand, then only normal output is …