How do I search anything in Linux?

thanhthao

New member
How do I search anything in Linux?
Answer
For example, you want to find all files in the directory that contain “abc” in their name, type ” ls -d *abc* ” It will list all matching files. But if you want to find files more recursively, type ”
find | grep -r “abc ” ” You may remove the “-r” if you don’t want to search too deep.
 

Tìm kiếm

Back
Top