Tagged with: variable font linu ALT logs img Wildcard supplement es2017
One, the file Search command
1. File Search command: Locate
Fast (see Comparison of Linux tool URLs), note that new files cannot be found (the principle is not expanded)
The rules of handsome election:
Instance:
2. Command Search command: Whereis which
Instance:
Instance:
The purpose of the which command is to search for the location of a system command in the path specified by the path variable, and return the first search result.
"Supplemental Knowledge":
3. File Search command: Find
Instance:
Wildcard characters:
Search instance:
Other common parameters:
(Kbytes lowercase k, MBytes uppercase M)
Execute (EXEC) by placing the result of the preceding command in the second command {}
4. String Search command: grep
Instance:
Compare to find:
Linux Getting started the next day-Getting started with basic commands (middle)