27.3k views
0 votes
How can the output of a command be redirected to a file instead of being displayed on the computer's screen?

User ArielB
by
5.2k points

1 Answer

4 votes
The output of a command be redirected to a file instead of being displayed on the computer's screen by typing the > character followed by the file name at the end of the command.
All the information that's displayed in the Command Prompt after running a command can instead be saved to a file which you can open in Windows to reference later or manipulate however you like.
User Dotoree
by
6.0k points