Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed replace in file

sed -i 's/foo/bar/g' hello.txt
Source by www.cyberciti.biz #
 
PREVIOUS NEXT
Tagged: #sed #replace #file
ADD COMMENT
Topic
Name
5+6 =