Linux tips | export environment variables | use sed to update multiple files
Updating config files with Linux environment variables is something you may need to do when setting up Flask, Nginx, or Django projects. Here we see how to update multiple config files with one line, using sed. Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline) - rather than look up the syntax each time, try and use an example like this many times and you'll do just fine. 🌏 https://linux.die.net/man/1/sed Visit redandgreen blog for more Tutorials ========================================= 🌏 http://redandgreen.co.uk/about/blog/ Subscribe to the YouTube Channel ================================= 🌏 https://www.youtube.com/c/DrPiCode Follow on Twitter - to get notified of new videos ================================================= 🌏 https://twitter.com/RngWeb 👍 Become a patron 👍 🌏 https://www.patreon.com/drpi Buy Dr Pi a coffee (or Tea) ☕ https://www.buymeacoffee.com/DrPi Proxies ================================================= If you need a good, easy to use proxy, I was recommended this one, and having used ScraperAPI for a while I can vouch for them. If you were going to sign up anyway, then maybe you would be kind enough to use the link and the coupon code below? You can also do a full working trial first as well, (unlike some other companies). The trial doesn't ask for any payment details either so all good! 👍 🌏 10% off ScraperAPI : https://www.scraperapi.com?fpr=ken49 ◼️ Coupon Code: DRPI10 (You can also get started with 1000 free API calls. No credit card required.) Thumbs up yeah? (cos Algos..) #sed #LinuxTips #editingfiles
Download
0 formatsNo download links available.