Load flat text file into a Berkeley DB database

cat INPUT_FILE | sed ‘s/\\/\\\\/g’ | db_load -T -t hash DB_FILE

“-T” is requirable if input file is just flat text file instead of being from db_dump. The input file consists of two-line pairs, in which the first line in a pair is key and the second is value.

Advertisements

Install nVidia 173xx driver on Fedora 13

Reference page: http://www.fedoraforum.org/forum/showthread.php?t=249330

Upgrade KDE 4.4 to 4.5 on Fedora 13

sudo curl http://apt.kde-redhat.org/apt/kde-redhat/fedora/kde.repo -o /etc/yum.repos.d/kde.repo
sudo yum update @kde –enablerepo=kde*e,u*g