Inspecting a particular line in a large file if you know the line number
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