Glossary: Command Line for IT: Bash and PowerShell
redirection
Also written: >, >>, 2>
Sends a command's output to a file instead of the screen: > replaces the file, >> adds to it, and 2> sends errors there. bash reads redirections left to right.
Glossary: Command Line for IT: Bash and PowerShell
Also written: >, >>, 2>
Sends a command's output to a file instead of the screen: > replaces the file, >> adds to it, and 2> sends errors there. bash reads redirections left to right.