Bash – Mass NSlookup
When you are moving from one server public IP to another you could use some help knowing things are changed. This bash script will do an NSLookup on various DNS servers.
Posts in this category are specific to Raspbian (Raspberry Pi) and may or may not work on Zorin OS, Ubuntu, and Debian or other UNIX based systems.
When you are moving from one server public IP to another you could use some help knowing things are changed. This bash script will do an NSLookup on various DNS servers.
Reference: https://www.raspberrypi.org/forums/viewtopic.php?t=150438
Replace the IP addresses with your IP addresses Modify your config file to look like this When done you need to test the config You should see something like nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful Reference: https://www.nginx.com/blog/load-balancing-dns-traffic-nginx-plus/
On the Mac “lsusb -v” is rather clean in comparison to other systems.
Currently this script is developed for my Raspberry Pi (Debian, Raspbian) but in time I will have it working for RHEL (Red Hat, CentOS, Fedora). In the example above I’m checking if OpenVPN is running, if it is not running it will start the service. I set this script up as CheckOpenVPN.sh in my /opt…
The following code is for Debian 9 Stretch but should work on older Debian with minor changes
Obviously it will be slightly different depending on your network and version but it will look something like this. Kittell.net WARNING This computer system is the property of Kittell.net. It may be accessed and used only for authorized Kittell.net business by authorized personnel. Unauthorized access or use of this computer system may subject violators to…
Originally found at https://linuxconfig.org/replace-all-tab-characters-with-spaces