S
Sonal
Guest
Please let me know how to search multiple strings in filename through locate command:
locate -b AJAY
returns all files which contains AJAY in filename.
Now I want files which contains both AJAY and ARR. If I use the below command it takes minutes to execute when I have millions of records to search from
locate -b "*AJAY*ARR*"
Please let me know how to speed up the process
locate -b AJAY
returns all files which contains AJAY in filename.
Now I want files which contains both AJAY and ARR. If I use the below command it takes minutes to execute when I have millions of records to search from
locate -b "*AJAY*ARR*"
Please let me know how to speed up the process