I want to replace the specific string memory_limit = 128M with memory_limit = 512M in the file /etc/php5/apache2/php.ini:
sed 's/memory_limit = 128M/memory_limit = 512M/g' /etc/php5/apache2/php.ini
Why doesn't the command work?
I want to replace the specific string memory_limit = 128M with memory_limit = 512M in the file /etc/php5/apache2/php.ini:
sed 's/memory_limit = 128M/memory_limit = 512M/g' /etc/php5/apache2/php.ini
Why doesn't the command work?