How do I find a file in Linux terminal?

Đạt Michio

New member
How do I find a file in Linux terminal?
Answer
To find files in Linux terminal, do the following.
  1. Open your favorite terminal app. …
  2. Type the following command: find /path/to/folder/ -iname *file_name_portion* …
  3. If you need to find only files or only folders, add the option -type f for files or -type d for directories.
 

Tìm kiếm

Back
Top