Skip to content

Instantly share code, notes, and snippets.

@TemporaryJam
Created September 29, 2013 12:55
Show Gist options
  • Save TemporaryJam/6752291 to your computer and use it in GitHub Desktop.
Save TemporaryJam/6752291 to your computer and use it in GitHub Desktop.
How to remove the byte order mark (BOM) from a file on Linux CLI
tail --bytes=+4 text.txt > text_no_bom.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment