When you have a lot of Jupyter notebook files (.ipynb files) and you want to know which notebooks produce a file of your interest. In that case, you can search for notebooks that contains a specific word using grep
.
grep -rnw './' -e 'word-of-your-interest'
Here, -r
for searching in subdirectories, -n
for showing line numbers, -w
for searching for a whole word, not a part of word.
Comments