18.01.2020 Views

Working with Linux

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

You can run, but you can't hide… from find

Tens of projects, hundreds of folders and thousands of file; does this scenario sound familiar? If the

answer is yes, then you probably found yourself more than once in a situation where you couldn't find

a specific file. The find command will help us locate any file in our project and much more. But

first, for creating a quick playground, let's download the electron open source project from GitHub:

Git clone https://github.com/electron/electron

And cd into it:

cd electron

We see here lots of different files and folders, just like in any normal sized software project. In order

to find a particular file, let's say package.json, we will use:

find . -name package.json

.: This starts the search in the current folder

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!