H I O X INDIA
LINUX Commands
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Templates 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)
Español Français 中文 Deutsch
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

LINUX / UNIX cmd
Introduction
Commands in A
Commands in B
Commands in C
Commands in D
Commands in E
Commands in F
Commands in G
Commands in H
Commands in I
Commands in J
Commands in K
Commands in L
Commands in M
Commands in N
Commands in P
Commands in R
Commands in S
Commands in T
Commands in U
Commands in W
Commands in Y
More about Linux
Feedback




find Linux Commands


Topic

What is Linux find Command?




Explanation

find COMMAND:
     find command finds one or more files assuming that you know their approximate filenames.

SYNTAX:
  The Syntax is
     find path [options]

OPTIONS:
     
-name It search for the given file, in the current directory or any other subdirectory.
-atime n True if the file was accessed n days ago. The access time of directories in path is changed by find itself.
-ctime n True if the file's status was changed n days ago.
-group gname True if the file belongs to the group gname. If gname is numeric and does not appear in the /etc/group file, it is taken as a group ID.
-mtime n True if the file's data was modified n days ago.
-size n[c] True if the file is n blocks long (512 bytes per block). If n is followed by a c, the size is in bytes.



EXAMPLE:
     
  1. find -name 'cal.txt'

    The system would search for any file named 'cal.txt' in the current directory and any subdirectory.

  2. find / -name 'cal.txt'

    The system would search for any file named 'cal.txt' on the root and all subdirectories from the root.

  3. find -name '*' -size +1000k

    The system would search for any file in the list that is larger than 1000k.






        Find LINUX Commands... Hope you enjoy this tutorial. We welcome your Valuable feedbacks or suggestions on this LINUX / UNIX cmd reference. This is a copyright content.


privacy policy     license     sitemap
© 2004-2009 HIOX INDIA - hioxindia.com

Other Links