How to search file in Ubuntu

Searching file using search box can be tedious or utterly slow, you can search any file on your hard-drive using following command.

I had to seach image named “IMG_7961.JPG" I used following command on terminal

$ tree -f  / | grep IMG_7961
│   │   │   │   ├── /media/conquistador/Data/recovered data/IMG_7961.JPG
│   │   │   │   │   ├── /media/conquistador/Data1/20181028 Ghorwadeshwar/converted/IMG_7961.jpg
│   │   │   │   │   ├── /media/conquistador/Data1/20181028 Ghorwadeshwar/converted/IMG_7961.jpg.out.pp3
│   │   │   │   ├── /media/conquistador/Data1/20181028 Ghorwadeshwar/IMG_7961.JPG
│   │   │   │   ├── /media/conquistador/Data1/20181028 Ghorwadeshwar/IMG_7961.JPG.pp3
│   │       │   │   ├── /media/conquistador/PRAVINDSLR/DCIM/100CANON/IMG_7961.CR2
│   │       │   │   ├── /media/conquistador/PRAVINDSLR/DCIM/100CANON/IMG_7961.JPG

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.