Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

grep

Search String All Files

I’m looking for “side-bar”

grep -rn side-bar ./
./_includes/components/sidebar.html:1:<div class="side-bar">
./_sass/custom/custom.scss:97:.side-bar {
./_sass/layout.scss:3:.side-bar {
./_sass/print.scss:13:  .side-bar {

Recursive Search, only .md

Looking for “Table of Contents”, case insensitive

grep -Ril “Table of Contents” ~/v/ –include="*.md"