Hot Article
- Centos7 closes and restarts the system firewall and opens firewall ports
- How IID server uses Xshell to connect to Linux (centos) server
- BT panel forgets the background login URL, and the solution to the security entrance verification failure
- What to do if a cp: omitting directory error occurs in Linux (detailed solution)
- The php domain name points to ip, how to use the specified ip address to access a server in the url request domain name in curl mode
- Error connecting to MySQL: Cant connect to MySQL server (10060)
In Linux, you can use the "find" command to search and find files. To do a fuzzy query, you can use the "-name" option and use wildcards in the file name.
For example, to find all files that start with "file" and end with ".txt", you can use the following command.
find /path/to/search -name "file*.txt"
The above command will find all files starting with "file" and ending with ".txt" in the specified path (/path/to/search). An asterisk (*) indicates a wildcard character and is used to match any character.
Similarly, to find files with specific characters in the file name, you can use asterisks for fuzzy queries. For example, to find all files that contain the character "hello", you can use the following command.
find /path/to/search -name "*hello*"
The above command will find all files with the "hello" character in the specified path (/path/to/search).
Please note that the "find" command may take some time to complete the search, depending on the size of the file system and the number of files.
related topic
- Windows firewall settings only allow specified IPs to access specified ports
- How does CentOS7 open/view ports?
- What to do if a cp: omitting directory error occurs in Linux (detailed solution)
- IDGlobal teaches you how to set up root remote login in Ubuntu SSH
- What to do if the server is compromised (2023 detailed solution)
- How To Install Plesk Panel on Ubuntu 20.04 Server?