Our commonly used file search feature on Windows looks simple, but often finds it troublesome to find a file on Linux!
According to the habits of personal use, I found: I would like to find a file in the general situation will know these parts, one is the file approximate scope, the second is the file name of a character or keyword, the third is the suffix. And, in the process of using Linux, we usually just place the files in our home directory.
According to these items, I specifically listed a common search file to find the format of the command, using the terminal Find command to find files:
Open terminal, find personal files without root permission, enter commands in the following format:
$ find/home/username-name *keyword*.pdf
Find, range,-first name, keyword
Explain:
Find is a common search command in a Linux system, and because of its very powerful features, it has many options, and as a non-administrator we only remember one-name.
/home/username since we will only place personal files in our own home directory, it is almost certain that the files must exist in their home directory. So you just have to remember your home directory.
-name Generally, we will remember a part of the name, so the most common is the-name parameter.
*keyword*.pdf Join us Remember that some characters in the file name keyword, use the * number to wrap it (* represents any arbitrary character, including 0 characters), if you remember the file suffix, add a suffix, such as in this case, the. pdf suffix.
This article is from the "Wzbao of Interest Research Fedora" blog, please be sure to keep this source http://wzbao.blog.51cto.com/11237209/1919774
Fedora25 Find File--linux Common Find File Method--find command skillfully used