sudo(8) sed(1) -i %27s%2Fus.archive.ubuntu.com%2Fbr.archive.ubuntu.com%2Fg%27 %2Fetc%2Fapt%2Fsources.list
execute a command as another user
stream editor for filtering and transforming text
-i[SUFFIX], --in-place[=SUFFIX]

       edit files in place (makes backup if extension supplied)
If no -e, --expression, -f, or --file option is given, then the first non-option argument is taken as the
sed script to interpret.  All remaining arguments are names  of  input  files;  if  no  input  files  are
specified, then the standard input is read.
source manpages: sudosed