Managing terminal output
When using the terminal, the amount of output from commands typically outweighs the amount of input; it's easy to get overwhelmed! Let's look at some tools built into Windows Terminal that help us to manage terminal output.
The most typical way of managing output is with shell-specific commands; for example, you may use findstr
in the command prompt, Select-String
in PowerShell, or grep
on Linux/Unix shells. However, Windows Terminal also includes its own tools that work on output from any shell. Since Windows Terminal is handling the output of these shells, it can also provide unified tooling.
To search the output of any shell, press Ctrl + Shift + F to open the search bar:
Typing any search term and pressing Enter will find that term in the currently active pane or tab, starting from the bottom and going up. Subsequent presses of Enter...