lost document forgot filename

Asked by Erik Bobo

Hello everybody! I wrote something a few months ago, I saved it, but I cannot find it now (i have done a back up and installed the new ubuntu, but I am pretty sure I kept everything somehow)
I don't remember the filename apparentely, is there a way to search for a document knowing specific words that are in the document?
how do you do that?
thanks a lot!
Erik

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ubuntu-meta Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
snd (dns) said :
#1

In which application you have saved the file?

For example in Gedit: Just open the editor and click 'file' in menu, there you should see a list of last opened documents.

Revision history for this message
snd (dns) said :
#2

and yes you can search through documents with grep, type in terminal: man grep
also with gnome-search-tool you can

Revision history for this message
Erik Bobo (bolnerge) said :
#3

it was an open office document.
don't remember if I saved it in odt or doc
the word I am looking for is "loris"
what do I have to type exactly after man grep?
sorry I am quite a beginner...
thanks!

Revision history for this message
snd (dns) said :
#4

grep is quite extended, i cant describe all functions in short here, but an example:

grep -iR --exclude-dir=/var --color=auto 'loris' /

This command searches for the word 'loris' recursively '-R' and incase sensitivity 'i' through the whole mounted storage devices '/', excluding '/var' dirs and automatically colors the output '--color=auto'.

Maybe for beginners its easier to use gnome-search-tool.
If you have it not installed that yet, do 'sudo apt-get install gnome-search-tool', then you should be able to start it from your menu or by typing in terminal just 'gnome-search-tool' without '.

I hope that helped :-)

Can you help with this problem?

Provide an answer of your own, or ask Erik Bobo for more information if necessary.

To post a message you must log in.