In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Most people do not understand the knowledge points of this "linux how to find php.ini" article, so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "linux how to find php.ini" article.
In linux, you can use the find command to find out where "php.ini" is. The function of this command is to find the files under the specified directory. The query condition can be set by the "name" parameter, which can be found according to the file name. The syntax is "sudo find /-name 'php.ini'".
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
How does linux find out where php.ini is?
Using the sudo find /-name 'php.ini' command, the example is as follows:
The Linux find command is used to find files in the specified directory. Any string that precedes a parameter is treated as the name of the directory you are looking for. If you use this command without setting any parameters, the find command looks for subdirectories and files under the current directory. And all the subdirectories and files found are displayed.
Grammar
Find path-option [- print] [- exec-ok command] {}\
Parameter description:
Find judges path and expression according to the following rules, the first-(), on the command line! The first part is path, followed by expression. The current path is used if the path is an empty string, and-print is used as the default expression if the expression is an empty string.
There are as many as 20 or 30 options available in expression, and only the most commonly used ones are introduced here.
-mount,-xdev: only check and specify files in the same file system to avoid listing files in other file systems
-amin n: read in the past n minutes
-anewer file: a file that was read later than the file file
-atime n: files that have been read in the past n days
-cmin n: modified in the past n minutes
-cnewer file: files that are newer than the file file
-ctime n: files that have been modified in the past n days
-empty: empty file-gid n or-group name: is gid n or group name name
-ipath p,-path p: files whose path names match p. Ipath ignores case.
-name name,-iname name: a file whose name matches name. Iname ignores case
-size n: the file size is n units, b represents a block of 512 bytes, c represents the number of characters, and k indicates that kilo bytes,w is two bytes.
-type c: a file of type c.
The above is about the content of this article on "how to find php.ini in linux". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more related knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.