Trying to make this script register host, two different spacewalk servers based on the distro and the last character of it's name.
The first if and elif condition work but after that it doesn't seem to honor the next if conditions. Anyone see what I'm doing wrong?
This is a bash script solution. Go look elsewhere if you want to Frankenstein your system with alien or legacy rpms.
The old 'timeconfig' TUI that was present from the original Redhat 'Diaper' release all the way up through the RedHat 'EL5' release now occupies too many terabytes on the OS installation so it had to be discarded from RHEL6 (and CentOS 6). Ok, just kidding.
I am trying to "grep" or "egrep" the following entry out of the file using regex:
MACCDB1 or MACCDB2
The problem is that the file might contain other entries which start with "MACCDB" string.
I was trying to use regex to "grep" the exact pattern but it fails to output the correct entry:
Afternoon (where I am, anyway) :rolleyes:Let me know if this question is inappropriate here.My attempt at starting lampp from an OB menu entry is failing.After reading the man entry for terminator, I tried these:gksudo terminator --command="/opt/lampp/./lampp start"gksudo terminator --execute /opt/lampp/./lampp startand even this:gksudo terminator < /opt/lampp/./lampp startMy bash ski