Conclusion: zhy2111314 is from linuxsir. org sorting: Summary of North South and North South: This article is a detailed description of the find command, valuable is to give a lot of examples for parameters, a large number of examples, so that
Ps:find is a powerful command that matches the regular and finds the corresponding permissions, which can help you pinpoint files in any directory anywhere in your system. The following is the most detailed article on the use of the Find command,
In Linux, how does one find a file that contains spaces after processing a file name?
In Linux, how does one find files whose names contain spaces after processing them?
In Linux, when there is a space in the file name, how can I find or confirm
One, file Lookup commandThere are quite good search commands under Linux. How do you find a file's storage path? Usually we will use the following three commands: which view the location of the executable file. whereis View the location of the
(1) Search by filename and inode:
-name "file name": Supports the use of Glob
find/etc/-name "*pas?wd*"
*,?, [], [^]
-iname "file name": Case-insensitive
find/etc/-iname *pas?wd*
-inum n Press the inode number
1 command format:
$ find
Most common example: Find file name (Ignore case)
$find. -iname Sqlquery.java
1.1
The directory to search for and all of its subdirectories. The current directory is assumed by default. Find default recursion
1 command format:指定目录>指定条件>指定动作>Most common example: Find file names (ignoring case)$find . -iname sqlquery.java1.1 The directory to search for and all its subdirectories. The current directory is assumed by default. find default recursive specified
the PWD command displays the user's current working directory as an absolute path. command to write the full path name of the current directory (from the root directory) to standard output. All directories are used/delimited. The first/represents
1. find & ldquo; elm in a directory. cc & rdquo; file find/home/lijiajia/-nameelm. cc2. find the find/home/lijiajia/-name & #39; * elm * & #39; file with a certain character (such as & quot; elm & quot;) in the file name; find/home/lijiajia/
1. find
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.