Skip to content

Instantly share code, notes, and snippets.

@pebosi
Last active August 29, 2015 14:04
Show Gist options
  • Save pebosi/c8fd8a5ddd40dce895c6 to your computer and use it in GitHub Desktop.
Save pebosi/c8fd8a5ddd40dce895c6 to your computer and use it in GitHub Desktop.
Prepend a line to a file
sed -i '1i Text for first line' /filename.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment