deklinm
asked on
File Name Search in Ubuntu
From the command line how do i search for a specific file name in ubuntu?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try this
find . -type f -name photo.jpg
This would find for all the files under the current directory and all the sub directories.
May be you didn't change /start/dir. It was just an example by WMP.
find . -type f -name photo.jpg
This would find for all the files under the current directory and all the sub directories.
May be you didn't change /start/dir. It was just an example by WMP.
simply try
locate photo.jpg
If you added the file recently, try updatedb as an admin then enter the above command
locate photo.jpg
If you added the file recently, try updatedb as an admin then enter the above command
ASKER
When i run the below syntax i receive an unknown predicate response.
find /start/dir -type f -name photo.jpg -print