Bash: Find the Nth character in a file

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.
 
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog