sed -i "" 's/foo/linux/g' file.txt
sed 's/http:\/\/localhost:8888\/mywebsite/http:\/\/mywebsite.com/g' FileToReadFrom > FileToWriteTo
<?php | |
ini_set('display_errors', 1); | |
ini_set('max_execution_time', 0); | |
ini_set("memory_limit", "-1"); | |
set_time_limit(0); | |
error_reporting(E_ALL); | |
require './app/bootstrap.php'; | |
$bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $_SERVER); | |
$objectManager = $bootstrap->getObjectManager(); |