jzztf / wiki

wiki
https://jzztf.github.io
Other
1 stars 0 forks source link

find file in linux with command #40

Open jzztf opened 6 years ago

jzztf commented 6 years ago

findcommand

$ find -h
# find file in certain path; ignore case; use pattern
$ find /your/path/ -iname *keywords* -type f
# find the directory
$ find /your/path/ -iname *keywords* -type d

locatecommand

$ locate -h
# ignore case
$ locate -i *keywords*