Sed

From DevOps Notebook
Revision as of 11:05, 5 May 2021 by MilosZ (talk | contribs) (Created page with "== Search and replace string in single file == <pre> sudo sed -i -e "s/upload_max_filesize = \"500M\"/upload_max_filesize = \"1200M\"/g" /etc/php7.4/cli/php.ini </pre>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Search and replace string in single file

sudo sed -i -e "s/upload_max_filesize = \"500M\"/upload_max_filesize = \"1200M\"/g" /etc/php7.4/cli/php.ini