Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sed -i '0,/dev/ s/dev/stage/' config.inc.php
- sed -i "/<dev>/,/<dev>/ s/dev/stage/" config.inc.php
- date >> /path/to/dev/run.log
- sed -i -r '0,/<dev>/s/<dev>/stage/' config.inc.php
- cat config.inc.php | sed 's:dev::stage' > config.inc.php.new
- echo $timestamp >> mylogfile.log
- sed -i -e s/dev/stage/ config.inc.php
Add Comment
Please, Sign In to add comment