Skip to content

Instantly share code, notes, and snippets.

@hsuan1117
Created October 18, 2020 15:24
Show Gist options
  • Save hsuan1117/e1cff51d08518da85737297ec51ea813 to your computer and use it in GitHub Desktop.
Save hsuan1117/e1cff51d08518da85737297ec51ea813 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo Enter Domain Name:
read domain
sed -i -r "s/(aaa)/$domain/g; s/(xxx)/$domain/g" test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment