Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

sometimes i want to search specific string in terminal after running a command. for example, i run apt-get upgrade and i see outputs in terminal line by line:

Unpacking replacement procps ...
Preparing to replace apt-transport-https 0.8.16~exp12ubuntu10.12 (using .../apt-transport-https_0.8.16~exp12ubuntu10.15_amd64.deb) ...
Unpacking replacement apt-transport-https ...
Preparing to replace dosfstools 3.0.12-1ubuntu1 (using .../dosfstools_3.0.12-1ubuntu1.1_amd64.deb) ...
Unpacking replacement dosfstools ...
Preparing to replace python-problem-report 2.0.1-0ubuntu17.4 (using .../python-problem-report_2.0.1-0ubuntu17.6_all.deb) ...
Unpacking replacement python-problem-report ...
Preparing to replace python-apport 2.0.1-0ubuntu17.4 (using .../python-apport_2.0.1-0ubuntu17.6_all.deb) ...

and it goes on.
is there a way i search dosfstools string, right now; with shortcut or something else?

I know: easy way is, select the text in terminal and copy that to text editor and search for string. but if I do that more and more times, it makes me :-/

share|improve this question
up vote 1 down vote accepted

Try ctrl-shift-f to search in gnome-terminal. If you're using some other terminal, please specify which one.

share|improve this answer
great, thank you :) . but it search once, and highlight first matched string, how can i see other resaults ? i try n key but not works. ( n : stand for next ) – Netmoon Nov 10 '13 at 21:09
When I try this, I am able to click the Find button multiple times to move through all of the matching strings. – Paul Nov 10 '13 at 21:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.