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

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -