Linux Copy file giving replace in content

0

How could it be done for me to copy via a shell script a php file, but replacing the contents of a variable?

Example: cat config-sample.php > config.php

<?php $senha="[dados_a_ser_substituido]";?>
    
asked by anonymous 17.08.2018 / 22:27

0 answers