Control characters require an escape sequence prior to using in a search and replace operation in VIM. In Linux, the escape character is Ctl-v. Windows requires a Ctl-q. Remove all […]
READ MORETo rename all html files in a particular directory to shtml files, use the following loop: for file in *.html do mv ${file} ${file%%.html}.shtml done This uses the ${variable%%match} format […]
READ MOREI recently upgraded some hosts to Fedora 11 which has Samba 3.4 included. I configure most of the hosts I control to be integrated with Active Directory for authentication and […]
READ MOREerror while loading shared libraries: : cannot open shared object file: No such file or directory
By : Josh -
A fairly typical scenario when installing software that does not come fro the distribution package manager is to install an application and find that it cannot find a library necessary […]
READ MOREHistory with time stamps!
By : Josh -
When reviewing the history file in bash, it’s terrible not knowing when a command was executed. Using the HISTTIMEFORMAT variable in a .bashrc file, the timestamp can be added to […]
READ MOREsudo PATH and bash
By : Josh -
I just spent a bit of time troubleshooting a path issue with sudo on a CentOS server. This is a note to self to preserve this bit of knowledge. When […]
READ MORESoftware RAID and GRUB
By : Josh -
When building out a system with a boot partition using software RAID, it is critical to install GRUB on both drives to that if one fails, the other can be […]
READ MOREPersistent Debian Daemons
By : Josh -
As a long time Redhat / Fedora user, starting daemons on system boot in Debian has been a mystery. I recently took the time to search for the answer, rather […]
READ MOREI recently had to build out a new MySQL node and replace an existing replication master. Here is the basic procedure that I followed. 1. Build out the new server […]
READ MOREFast Hard Disks
By : Josh -
One of the biggest bottlenecks in any system is the hard disk drive. I found HyperOS Systems while reviewing the MySQL users mailing list yesterday. This company sells a device […]
READ MORE