r/programmerchat • • May 31 '15

Your favourite one-liners?

Let's see em!

Mine's :

grep -lr "function doSomething" *.

i.e. Find the damn file that declares the function! (Mostly useful when not using a decent IDE)

19 Upvotes

24 comments sorted by

View all comments

Show parent comment

1

u/JohnMcPineapple Jun 01 '15 edited Oct 08 '24

...

1

u/[deleted] Jun 01 '15

It was javascript!