Skip to content

{ Monthly Archives } January 2008

My ZSH Prompt

Lately, I’ve been plagued with getting my zsh prompt exactly the way I want. I’ve been using the clint theme bundled with zsh, but it’s multiline prompt, and poor color choice started getting to me. So, I figured I’d change it and start with something simple, maybe mimicking bash a little, and slowly [...]

SGID Bug

There is a very obvious bug when attempting to set SGID on a directory when you are not a member of the group that has ownership on that directory. For example, follow along with me in the following example on your box:
[Wed 08/01/30 06:55 MST][pts/1][x86_64/linux-gnu/2.6.22-14-generic][4.3.4]
<aaron@kratos:~>
zsh 162 % mkdir ~/tmp
[Wed 08/01/30 06:56 MST][pts/1][x86_64/linux-gnu/2.6.22-14-generic][4.3.4]
<aaron@kratos:~>
zsh 163 % [...]

Copy Magic Under RHEL5.1?

Being an instructor for Guru Labs, I have the opportunity to not only teach Guru Labs courseware, but also contracted work with Red Hat, HP, IBM, Oracle and others. This week, I’m out in Atlanta, Georgia teaching the RH300 Rapid Track course for students to earn their RHCE. During one of the labs, [...]

Update My Public Key

At your earliest convenience, you’ll need to update my public key in your keyring. You can grab the cleaned copy from my site, or your can get an uncleaned copy from either the Ubuntu keyserver or the PGP keyserver. Please do not use the MIT PGP keyserver, until I can get straightened out [...]

Man Watch

Yet again, something amusing found in the man pages. Check out man (1) watch and search for the term ‘administrator’:
–snip–
You can watch for your administrator to install the latest kernel with
watch uname -r
(Just kidding.)
Oh brother.

Who Mom Likes

When you travel as much as I do, you have the opportunity- nay, the responsibility- to read man pages. While sharpening the saw, so-to-speak, on increasing my teaching skills, I came across the following command:
[Fri 08/01/11 06:05 MST][pts/1][x86_64/linux-gnu/2.6.22-14-generic][4.3.4]
<aaron@kratos:~>
zsh 31 % who am i
aaron pts/1 [...]

LVM FYI

When creating logical volumes, you may want to backup your data before you run ‘pvcreate’. Take it from me, who is sitting at his computer at 1 in the morning pulling his hair out, as he lost a *lot* of data, and is currently reinstalling Ubuntu 7.10. Yeah, I know all about version [...]

Pimp My Irssi

Warning: This post could be very long in many RSS readers and planets. Thus, going against how I feel about chopped RSS, I think it would be wise to do so here. At the bottom of the post, there is a “Continue Reading” link. If you’re curious, please click through.
Per John [...]

MIT PGP Keyserver

I just discovered, after spending some time trying to get my public key uploaded to the MIT PGP keyserver that they do not support photos in public keys. I find this rather unfortunate, as photos add a level of security to the key. This also means that any IDs that I add to [...]

Why I Don’t Run Windows, 8

Digital Restrictions Management.
The Electronic Frontier Foundation, of which I am a member, recently pointed in their Deep Links site how DRM is is punishing paying customers rather than “pirates”. Clip from the article:
Netflix subscriber Davis Freeberg ran headlong into an incompatibility between Microsoft DRM and … Microsoft DRM.
The trouble all started when Freeberg bought [...]

Testing AlphaNumeric Arguments In Bash

Spending the evening working on my shell scripting, I thought I would jump into “Wicked Cool Shell Scripts” by Dave Taylor. In his script validalnum.sh, he has a test case to check if a user entered in valid alphabetic or numeric characters. His result is elegant and clean. I’ve changed up the [...]

Ubuntu 7.10 Polish

This is just a quick post to say that I am really impressed with Ubuntu 7.10. I’ve been running Debian Sid on my laptop for the past 4 months. Although I’m running 7.10 on my old bed-ridden laptop and on my dual-boot desktop, I haven’t really spent the time to play with it. [...]

Foresight Linux Impressions

Well, I made the plunge. I wiped my hard drive clean last night, and installed Foresight to bare metal. Why not a VM like originally planned? I don’t know what the issues were, but KVM was sloooooooooow. Reading up on all the support questions, docs, wiki’s and sites I could find, [...]

Desktop Cam Reborn

A bit ago, I wrote a little bash script to take a screenshot of my working environment, and upload it to my blog as a “Desktop Cam“. Well, for the past year, it’s been pretty much inactive, as the job I had kept me from running the script due to the nature of the [...]

Emacs.NET?

Reading a local LUG mailing list here in Utah, I just came across an interesting thread about Microsoft developing either a text editor or a platform based on Emacs for .NET. The article in full can be found on ZDNet, with Doug Purdy doing the hiring for the team. No details are being [...]