#1 By: howtogeek, January 14th, 2014 12:34
Originally published at: http://www.howtogeek.com/178838/how-to-remove-lines-from-the-middle-of-a-file-using-the-linux-terminal/
When you manage your own servers, one of the things you end up needing to do on a semi-regular basis is extract stuff from the middle of a file. Maybe it’s a log file, or you need to extra a single table from the middle of your MySQL backup file, like I did.
#2 By: Naman Sood, January 14th, 2014 12:58
Slightly different, but if you have a ton of files and you want to find one (say, a game in a sea of ROM files), you can use this:
ls | grep Mario
#3 By: system, January 24th, 2014 12:35
This topic was automatically closed after 10 days. New replies are no longer allowed.