Skip to content

Instantly share code, notes, and snippets.

@rafaelqm
Created December 14, 2017 18:08
Show Gist options
  • Save rafaelqm/461ce8c838c3cd5ce865dd57a8b45905 to your computer and use it in GitHub Desktop.
Save rafaelqm/461ce8c838c3cd5ce865dd57a8b45905 to your computer and use it in GitHub Desktop.
Open a terminal.
Install ack-grep by typing sudo apt-get install ack-grep
Change to the directory you want to search under, and type ack-grep foo. it lists out all the matches in all files under that directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment