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

I want to find a text file in my hard disk which contains a specific word. I want to use a graphic application.

I'm on 12.4 "Precise Pangolin".

Prior to Ubuntu 12.4 I used to start in the dash an application, I think it was called "Search for file...", whose icon was a magnifying glass. The first screenshot here:

In Ubuntu 12.4 I can't find that simple application any more.

share|improve this question

You can use the grep command from terminal:

 grep -r word *

This command will find all occurrences of "word" in all the files under the current directory (or subdrectories).

share|improve this answer
He specifically mentioned a gui method ;) – Rinzwind Apr 29 '12 at 16:51
The asterisk does not match hidden files. To search all files you can run grep -r word .. – Ian Mackinnon Apr 29 '12 at 17:51
@Rinzwind: Not in the title! I came here googling for console way to search words inside files, so this answer is perfect for me! – Nikolay Ivanov Jan 15 '15 at 7:26
The terminal has a gui... it's just a gui that you type things into :-D – billynoah Feb 27 '15 at 14:58
it may not be the accepted answer due to the gui, but it indeed is the correct answer :) – anshupitlia Apr 16 '15 at 9:49

Install gnome-search-tool.

sudo apt-get install gnome-search-tool

Open Search for files select Select More Options and

enter image description here

share|improve this answer
do you have to restart the OS to get this to work? or maybe it doesn't work in 12? – jcollum Apr 18 '13 at 20:55
have you done install part ? I am pretty sure it must work, it works on 13.04. – geoh Apr 19 '13 at 11:29
which gnome-search-tool = /usr/bin/gnome-search-tool... but when I open the search option in gnome (Go, Search for files...) there's no option for "Select More Options" – jcollum Apr 19 '13 at 17:25
open by typing in terminal: gnome-search-tool and I am sure you will see it. – geoh Apr 20 '13 at 12:49
You can launch gnome-search-tool via the dash "Search for files", so you don't need the terminal. – Bernard Decock Oct 22 '13 at 7:41

Question is quite old... anyway... currently (2016) there is a gnome app called tracker (you can find it in ubuntu repositories) that can be installed to search for text inside files (tried odt-ods-odp-pdf). The package comes with 4 other packages to be installed (tracker-extract, tracker-gui, tracker-miner-fs, tracker-utils) Namastè :)

share|improve this answer

Yes, I know you was looking for gui application and this is old post, but maybe this help someone. I found ack-grep util. At first install it via sudo apt-get install ack-grep and then run command ack-grep what_you_looking_for in the directory where you want search. This show you all files in which is your text and also show preview from this files. And this is so important for me.

share|improve this answer

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.