Posts tagged ‘Bash’

Getting a listing of blogs on

An easy way to get a listing of all the current blogs in the system.

[crouse@archie ~]$ cat
dbase=`mysql -u USERNAME -pPASSWORD -e"use wordpress; select path from wp_blogs;"`
for data in $dbase ;
echo "${data}"
[crouse@archie ~]$ ./  | grep -v http://archlinux.mepath | sort

Arch Linux Info Script

I wrote this script because I’m on so many different Arch machines, sometimes it’s hard to keep track :) Plus, it gives me a handy way to find all of my information I’m looking for with one simple command. It outputs something like this:
Continue reading ‘Arch Linux Info Script’ »