1, the general form of Find command;
Find Pathname-options [-print-exec-ok ...]
1. Find
Find is the most common and powerful search command you can use to find any file you're looking for.
Find uses the following format:
$ find
-
-
-
If
Html> http://www.linuxsky.org/doc/newbie/200803/274.html
Because find has powerful functions, there are many options, and most of them are worth the time to understand. Even if the system contains a Network File System (NFS), the find command is
Examples of common usages of Find in Linux find Path-option [-print] [-exec-ok command] {} \;The parameters of the Find command;The directory path that the Pathname:find command looks for. For example, use. To represent the current directory, and/to
Ubuntu file search method (find command) common format: findpathname-options [-print-exec-OK] example: find-namefilename then search for the findetc-name * s file named filename in the root directory. search for the ubuntu search file method (find
Find some common examples of common parameters and some specific usage and considerations.1. Use the name option:The file name option is the most common option for the Find command, either used alone or in conjunction with other options. You can
Find and find FunctionsSyntax: find [path] [parameter] [action]
-Name filename: Find the file named filename.
-Iname filename: searches for the file named filename, but it is case insensitive.
-User username: searches for files whose owner is
Find command, findSyntax
Find [Option] [path...]Option
Option
Description
-Help or -- help
Online Help
-name
Shell ModeMatch the file name.It can be enclosed in quotation marks or not, but it is best to
# Linux File no create Time # Access use time # Modify Content modification Time # change state changed time (permissions, owner) # time is default in 24 hours, current time to 24 hours forward 0 days, 48-72 hours ahead for 2 days #- And and match
Format of the Find command: Find [-path]-options [-print-exec-ok]
Path
: The directory path to find.
~ Represents the $home directory
. Indicates the current directory
/represents the root
In Linux, some commands can greatly improve the efficiency. This article will introduce the find and grep commands. The two of them can be a must-have Linux Command and I will use them almost every day. The structure of this article is as follows:
Basic syntax: Find Path-option [-print] [-exec-ok command] {} \;The parameters of the Find command;The directory path that the Pathname:find command looks for. For example, use. To represent the current directory, and/to represent the system root
Find some common examples of common parameters and some specific usage and considerations.1. Use the name option:The file name option is the most common option for the Find command, either used alone or in conjunction with other options. You can
Find some common examples of common parameters and some specific usage and considerations.1. Use the name option:The file name option is the most common option for the Find command, either used alone or in conjunction with other options. You can
Transferred from: http://blog.csdn.net/gray13/article/details/6365654To install PL/SQL, look for the Tnsnames.ora file: Find out what directory This file is under Linux.Find/-name Tnsnames.oraTo
General format:
find Path-option [-print] [-exec-ok command] {} \;Description
#-print output of the found file to standard output
#-exec command {} \; -the command operation of the file to be traced, {} and \; There are spaces #-ok
We can use the Find command on a Linux or Unix system to query all (all) hidden filesThe basic syntax is as follows:[[email protected] ~] #find/To find the article/Piece/clip/-name ". *"-printExplanation:1. ". *" indicates the name of the file to
[Plain] www.2cto. comfind file search command format: findpathnameoptions [-print-exec-OK] pathname: directory path-print: the matching file is output to the standard output-exec: pair...
Description of the find command and xargs command in AIX
Find directory: Find/(Look in)-name ' find keyword '-type dFind files: Find/(Look in)-name look up keywords-printIf you need further information, you can refer to the Linux command in detail. Here are some excerpts:find Path-option [-print]
In Linux, some commands can greatly improve the efficiency. This article will introduce the find and grep commands. The two of them can be a must-have linux Command and I will use them almost every day.
Shell programming in Linux-awk
We know that the Linux find command can search for the specified file in the directory and do the appropriate action. The Find command provides a phase
When the powerful search conditions, the function is very powerful. So today we're going to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.