I had a mysqldump that wasn’t playing nice and would error out 745,273 lines into the dump. The error log wasn’t useful so to look at the exact line, I did this:
sed -n "745273 p" dump.sql
The syntax is:
sed -n "linenumber p" file.txt
I had a mysqldump that wasn’t playing nice and would error out 745,273 lines into the dump. The error log wasn’t useful so to look at the exact line, I did this:
sed -n "745273 p" dump.sql
The syntax is:
sed -n "linenumber p" file.txt