Category: UNIX Shell Scripts
Ubuntu – OpenDNS Client Install and Configure
Select “Other” and tap the Enter key Type in your defined server and tap the Enter key Select “dyndns2” and tap the Enter key Type in your username and tap the Enter key Type in your password and tap the Enter key Type in your password again and tap the…
Ubuntu – PPTPD VPN Install & Configure
This will set the DNS servers that VPN users will use. Below is configured for OpenDNS Family Shield/, make sure you set the DNS that you prefer If you plan to access machines on your network you need the localip to be in your current network range otherwise you can…
Recover/Replace MySQL Root Password – UNIX
Forgetting or never having the root password for a MySQL database can be rather difficult if it is now your job to support it. Note: You will need root access on the UNIX box to follow these commands. If for some reason you get an error saying mysql database doesn’t…
PowerShell Select-String – UNIX Grep Equivalent
UNIX Terminal commands can really speed things up, take grep for example if you are not sure of where you put a file or if some text is in a file you can run a simple command like this. Find all references to “www.domain.com” PowerShell has a similar command If…
Unix Change Static IP
It is best to do this on the machine itself and not remotely as you will lose connection.
PHP CLI – Create WordPress Username
Currently this code only creates a subscriber user in WordPress. Due to security concerns I likely won’t work on this to make it do greater permissions.