Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to search for a file in the CentOS command line [closed]

Tags:

linux

I am using CentOS minimal version and I am trying to locate a file, but I have no idea how to search all of the server for the file. I am sure there is a command out there to do it, can anyone help me?

like image 872
Dan Avatar asked Jan 10 '14 14:01

Dan


People also ask

How do I search for a folder in CentOS 7?

If you want to list down the directory in a long listing format, you can use the "ls" along with the find command, as seen below. Another option is the "-iname" that will implement the case-sensitive search.


1 Answers

Try this command:

find / -name file.look 
like image 130
Dennis Kerrisk Avatar answered Oct 21 '22 08:10

Dennis Kerrisk