How to Find / Search File

Method: Use: find command.

For example, I think the location search nginx.conf file is located, just write: 

find / -name nginx.conf

 

note: 

1. "/" indicates to start the search from the root directory;

2. "-name" mean to come back is the file name of the target file;

3. The value returned by the search path of the file is located

 

Guess you like

Origin www.cnblogs.com/aisowe/p/11597403.html