그냥 개발자 블로그

[Linux] Search by contents of file 본문

프로그래밍팁/linux

[Linux] Search by contents of file

마음이파파 2017. 6. 24. 05:19

It is useful to use a terminal for web development.


IDE can do things you can not do.



For example, you might want to look for a file that contains either a variable name or a function name.



$ grep -r 'apple' ./* 

 

Interpreting the above command means "search for files containing the word apple in all subdirectories including the current path".

From now on, development will be accelerated.




copyright (c) 2017 워크식스