• # bizarre ton sed

    Posté par . En réponse au message Lenny: apache2: public_html: script. Évalué à 1.

    Dans ton script shell, met :
    sed -i "s/USER/1ドル/" /home/1ドル/public_html/index.php

    Si tu voulais mettre le prénom + nom tel que dans /etc/passwd tu pourrais faire :
    sed -i "s;USER;$(grep "^$LOGNAME:" /etc/passwd | cut -d : -f 5 | cut -d , -f 1);" /home/1ドル/public_html/index.php