DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash add text to beginning of file
sed -i '1ithis will be the first line' file.txt
Source by superuser.com #
PREVIOUS
NEXT
Tagged:
#bash
#add
#text
#beginning
#file
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit