Replace the string somedomain.com with somedomain.org in the file /etc/sysconfig/yum-cron

# perl -i -p -e 's{somedomain.com}{somedomain.org}g' /etc/sysconfig/yum-cron 

See also Replace text in file using sed.

Hits: 526