Skip to content

Instantly share code, notes, and snippets.

@oguzkaganeren
Created October 29, 2019 16:53
Show Gist options
  • Save oguzkaganeren/aa66de14883ce8b43b88dfe8b81270fb to your computer and use it in GitHub Desktop.
Save oguzkaganeren/aa66de14883ce8b43b88dfe8b81270fb to your computer and use it in GitHub Desktop.
sed -i '/. .\/configure.user/!b;n;cecho "$stripped_arg"' configure
@oguzkaganeren
Copy link
Author

find ./ -type f -exec sed -i 's/string1/string2/gI' {} ;

replace a string in multiple files in linux command line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment