DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
sed add word to beginning of line
$ sed 's/^/#/' file.txt #add #character #at the #beginning of #each line
Source by linuxconfig.org #
PREVIOUS
NEXT
Tagged:
#sed
#add
#word
#beginning
#line
ADD COMMENT
Topic
COMMENT
Name
2+7 =
Submit