Monday, July 16, 2012

FIND Command in Linux Ubuntu

It has been occurred many times that we want to search some document or movie which we know is somewhere available on the hard disk but don't know the exact location.

In Linux, it won't be a much of a headache.
Find is one powerful command that will help you to search anything on your computer.

In terminal: find [directory where you want to search] -iname *[name or part of the file]*

Example: $find /home/ubuntu/Desktop -iname *programming*.doc
Here I want to search a document on Desktop and all the directories on it and it will show the documents which contain programming word in it.


It is a simple example of a Find command.
If you want to learn more about it
In Terminal: $man find






No comments:

Post a Comment