linux command file search

For example, find the file path to locate what

Find files: Path of hvr_preset_d9h264-2469.mp4

 

 find -name Find Use

A search method by file name:

find / -name "hvr_preset_d9h264-2469.mp4" from the root directory to start search

find / etc -name '* srm *' srm investigation file that contains characters from the / etc directory

For example, find the file path to locate what

Find files: Path of hvr_preset_d9h264-2469.mp4

 

 find -name Find Use

A search method by file name:

find / -name "hvr_preset_d9h264-2469.mp4" from the root directory to start search

find / etc -name '* srm *' srm investigation file that contains characters from the / etc directory

Guess you like

Origin www.cnblogs.com/carey9420/p/11983455.html