Replace apache envvars with sed command -


hi guys newbie sed editor , need replace follow line on envvars file:

current line

export apache_run_user=www-data 

i need replace

export apache_run_user=admin 

i tried

sed -i "s/export apache_run_user=www-data/export apache_run_user=nbadmin/"envvars 

this not work. there space between word export , apache. can please sed? in advance.

you missing space before filename.


Comments

Popular posts from this blog

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -

R summary function in ddply (plyr) in a simple way -

c# - Are delegates created via lambda expressions guaranteed to be cached? -