Archive Author: Josh

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 MORE

To 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 MORE

Samba 3.4 Changes idmap backend!

By : -

I 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 MORE

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 MORE

History with time stamps!

By : -

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 MORE

sudo PATH and bash

By : -

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 MORE

Software RAID and GRUB

By : -

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 MORE

Persistent Debian Daemons

By : -

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 MORE

Replacing a MySQL Master Node

By : -

I 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 MORE

Fast Hard Disks

By : -

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