DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
How to replace a string in multiple files in linux command line
cd /path/to/your/folder sed -i 's/foo/bar/g' *
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#How
#replace
#string
#multiple
#files
#linux
#command
#line
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit