Do you want to know how you can search any text in Ubuntu (Linux) terminal?
When you run any command, you get the output on the terminal. Especially if you are running any script in debug mode, a lot of logs get generated on the terminal.
If you want to search a particular text from the terminal output, it is not easy to scroll down complete terminal data and find that text.
If you are searching text manually,
Linux (Ubuntu) has a feature that makes your search very easy.
Use the following key shortcut to search text in Ubuntu (Linux) terminal.
Ctrl+Shift+f
It pops up checkboxes with four searching options.
Now you can search any string from the terminal output. You can perform a search using a regular expression, case sensitive/insensitive search, wrap-around text searching.
Steps:
Ctrl+Shift+f
.n
to move to the next search.If you want to be more productive, make a habit of using basic Linux commands for daily use.
This is a simple feature you can use to search text in terminal output on Ubuntu. Keep this trick in mind. It will make your job very easy and saves you a lot of time.