In windows environment you will just have to open the search window, input what you want to search/find and then click the search button. In unix/linux environment, if you’re using the X windows system, you might have that capability, but for a faster action, I always prefer the terminal/shell prompt.

The simple syntax for the find command is:


find path-name-list expression

and the simple example will be:

admin# find /etc -name "host*" -print
/etc/hosts
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts
/etc/hostname.le0
/etc/hosts.old
/etc/hostname.le1
admin#

Where:

find /etc -name "host*" -print
find - the command
/etc - Where you want it to search
-name "host*" - what you want it to search
-print - just print the output on screen

I’ll try to bring more example and usage of the find command in the later topics.

Happy searching.

Tags: , , ,

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>