Dumps

Help with grepping a dump

Submitted by Soda, , Thread ID: 64363

Thread Closed
09-12-2017, 07:06 PM
#1
Okay so I'm having an issue using grep to search for information associated to an email account.

example, if I use grep -C2 "[email protected]" databasename.sql my grep is outputting the entire database rather than just the 2 lines before and after the specified string.

Anyone know how to fix this? I'm on an Ubuntu 14.10 VPS by the way

RE: Help with grepping a dump

#2
just do grep "[email protected]" databasename.sql

Users browsing this thread: 3 Guest(s)