2 Shell Commands Every Web Developer Needs To Know
June 22, 2018    |    Basics    |    Coding    |    Uncategorized

Let’s face it, your code base is going to grow and many different people will work on it. Working with a large codebase, you’ll often have a hard time finding the correct files to edit your code. This is where the native linux command line tools are a life saver.

The first command you should learn is grep. Grep will search the contents of files for the specific string you provide.

grep -rl "my string"

The second command is find. This command will give you a list of all the YAML files in the current working directory.

find . -name "*.yml"

Was this article helpful?

Comments are closed.