This script will assist in searching for, joining or leaving a Microsoft Active Directory (AD). While this is specifically written and tested for Red Hat you should be able to do it with Fedora or CENTOS without changing anything. If you are on a different distro like Ubuntu it will…
Category: Fedora
Posts in this category are specific to Fedora and may or may not work on CentOS and Red Hat or other UNIX based systems.
UNIX Bash – Domain List Get Whois Info
If you manage a list of domains it’s sometimes helpful to have a script like this to check the information from time to time. I plan to clean this up in time but for now this works. First create a text file like below that has domains in it Then…
UNIX Bash – Create Date/Time File Name
When you need to create a log file or some dated archive The format can be modified slightly based on date formatting.
UNIX Bash – Website Monitor
Reference: http://unix.stackexchange.com/questions/84814/health-check-of-web-page-using-curl
UNIX Terminal – Compare Directory On Different Servers
When working with two or more servers it’s important to know that the files are the same on all servers involved. This script will assist in showing the differences between the servers without actually acting on the differences (will not copy any files). Key part of the command below is…
SELinux Configuration Change
A couple ways to do this, I like this method below most as it bundles some stuff above into a nice package. Reference: https://www.crypt.gen.nz/papers/how-to-disable-selinux/