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