cat "filename.html" | head -c 39950 | less
- Cat will read the file out
- Head will truncate it to the Nth character you want.
- Less will stop the output from flooding your console.
If you've found one or more of my blog posts helpful, why not say thanks by buying me a coffee or beer?