This essay will supplement the file types of Linux systems and the directory structure of Linux (Linux directory Management and permissions are very important, especially in Linux installation database class software).One, Linux change file
1 File Lookup:2 find eligible files on the file system;3 4 File Lookup: Locate, find5 non-real-time lookup (Database Lookup): Locate6 Real-time find: find7 8 Locate:9 dependent on pre-built indexes; The index is built automatically when the system
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] [-exec-ok
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
First: type--Query the type of a command-Query a command for internal or external commands;-linux commands include internal commands and external commands, you can use the type command to query whether a command is an internal command or an external
Find if all files in the directory contain a stringFind. | Xargs Grep-ri "IBM"Finds all files in the directory that contain a string, and prints only the file nameFind. | Xargs Grep-ri "IBM"-l1. Regular expressions(1) Regular expressions are
Syntax: Find Path-option [-print] [-exec-ok command] {} \;#-print output of the found file to standard output#-exec command {} \; The command operation-----The file to be traced, with a space between {} and \;#-ok and-exec are the same, except to
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,
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
Original link http://www.jb51.net/os/RedHat/1307.htmlThe Linux Find command searches the directory structure for files and performs the specified actions. The Linux Find command provides quite a lot of search criteria and is powerful. Because 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.