Customize a Golden Image or RHEL ISO with kickstart file? Rhel4/5/6//7
How can we create a customized RHEL6 ISO with kickstart file included in the ISO?
Mission Statement
Linux was made to be free and open. Linux was made to be free and open. The idea is, an individual working with a piece of software should be allowed to view, edit, and share its source code without legal consequence. The free software Movement was largely the brainchild of Richard Stallman. Having been a […]
Find broken symlinks and delete them
Find broken symlinks
How to Install Nagios
Nagios Open Source monitoring tool
Linux Patch Management
CentOS/ Red Hat Enterprise Release 5 & 6(Virtual Servers)
Linux Patch Management
CentOS / Red Hat Enterprise Release 5 & 6
LinuxBonding
The best AWK one-liners
The best AWK one-liners I love perl and I use it for most scripts but nothing beats awk on the commandline. Print selected fields Split up the lines of the file file.txt with “:” (colon) separated fields and print the second field ($2) of each line: awk -F”:” ‘{print $2}’ file.txt Same as above but […]
How to roll back to a patched server to an earlier patch level
How to roll back to a patched server to an earlier patch level 1.) Edit the /etc/grub.conf file to make the kernel boot to an eariler kernel. Inside of /etc/grub.conf, file the line “default=0” and change to “default=1” #vi /etc/grub.conf Change: default=0 To: default=1 <save and quit> 2.) Reboot the server so you can boot […]
How to kill processes holding up a File system
How to kill processes holding up a File system To check all processes running on a file system. #fuser -vm <File system> To kill all processes running on a file system #ps -lf -p $(fuser -c <File System> 2> /dev/null) | awk ‘{ print $4 }’ | xargs kill