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
- 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)
- How to purchase a dedicated server
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 Server system prompts that the account is disabled when accessing shares
- How to modify the remote port in CentOS 7 and 8
- What to do if the server is compromised (2023 detailed solution)
- IID.HK shares some commonly used IT network online detection websites
- How to view file size in linux
- What should I do if I lose connection to the game server of Legend M international service? (Detailed solution)