IT Tips

Access

Blog History

wp-cli update – file rename error

I have a script that runs the wp cli to loop through and update the WordPress themes, plugins & core for a number of sites. Each site has different linux user ownership. The problem I am seeing is an error message of Permission denied when running sudo -u $OWNER...

read more...

Check if VARIABLES are set with Bash

I have a script that needs to check if it is called with an environment that contains two variables OPERATOR_ADDRESS DELEGATOR_ADDRESS if it does not find them it will call a script ./getNodeAddressBech32.sh to set them and continue. How do you (properly) check for a...

read more...

Clear the DNS Cache in Firefox

If you have edited your C:\Windows\System32\Drivers\etc\hosts file to add a custom DNS entry and run ipconfig /flushdns and Firefox is still returning the old address enter the following in the browser location bar and then click the Clear DNS Cache button...

read more...