Super User is a question and answer site for computer enthusiasts and power users. 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

If I am in a particular directory path, I want to search for all files in any folder/sub-folder.

How can I do this?

share|improve this question
up vote 10 down vote accepted

In a terminal:

To list all files in the current directory and all sub-directories:

$ find .

To search for a file by name in the current directory and all sub-directories:

$ find . -name <file_name>

Or to search in all files in the current directory and all sub-directories for a particular string:

$ grep -R "<string>" *
share|improve this answer

If you want GUI search with subdirectories, use gnome-search-tool . You can find it in the Ubuntu Software Center (12.04 - precise penguin) or you can install it directly in terminal:

sudo apt-get install gnome-search-tool
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .