Check subscription manager status
Category: CentOS
Posts in this category are specific to CentOS and may or may not work on Fedora and Red Hat or other UNIX based systems.
UNIX – List Files With Permissions In CHMOD Numbers
If you’re on UNIX you know ls will list files in a directory but typically you’ll get something like You can simily stat the file(s) with the below What if we work with stat and make it easier?
UNIX – SED Remove Comment Lines
This script will remove all lines that start with # along with all comments. Whatever file you choose I suggest you view first then execute
GitLab – Move data to different directory
If you’re running low on disk space or simply want to move the data this script will help. Of course modify the path as needed. First double check your paths
GitLab – Uninstall
If you’ve ran into a problem with GitLab and need to remove all pieces of it to install fresh this may help. DISCLAIMER: BACKUP YOUR DATA FIRST
GitLab – Site looks funky – CSS Issue
It’s rare with the latest updates but sometimes the CSS doesn’t seem to load, this code may help if/when you run into the problem
GitLab – Folder Permissions Fix
If you’ve ran into a directory permissions problem with GitLab before this may be helpful. The code below is mostly based on GitLab documentation – https://docs.gitlab.com/omnibus/settings/configuration.html
RedHat – Search/Join/Leave Microsoft Active Directory (AD)
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…
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…