General

sed -i –follow-symlinks

Replace line

sed -i --follow-symlinks "/HAS_ATE/c\HAS_ATE=y"