Skip to content

{ Category Archives } Linux

Linux news and information.

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, [...]

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 [...]

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, [...]

Changing It Up

This may or may not be interesting to any of you, but I’m writing about it at any event. Earlier today, I was browsing around Distrowatch.com, and I came across the FAQ. The 2nd to last question in the FAQ is as follows:
You list so many distributions. Which one do you use:
In [...]

2008, Here We Come

Frankly, I can’t believe that 2007 is ending, and 2008 is just around the corner. It seemed like just yesterday that we had the Y2K scare that was the end-all of humanity as we knew it. 8 years later, computing has reached new heights, technology has soared, and Linux still remains a viable [...]

3 Operating Systems I’m Watching

Lately, I’ve had on my mind the desire to run different operating systems, other than Debian and Ubuntu. I’ve always had this weird interest in operating systems, so when I discovered Unix and Linux, it intrigued me to run them on my own system. Unix never went far, as the only “distro” I [...]

Lastb And BTMP

Dear Lazyweb-
On my 64-bit Debian systems, and my Ubuntu systems, as root, the command ‘lastb’ is returning nothing. Lastb should return all failed login attempts to STDOUT. In order to do so, it needs to read the /var/log/btmp file. Upon examination of this file, it is empty. This puzzles me, as [...]

Man Mutt

/BUGS
BUGS
None. Mutts have fleas, not bugs.
FLEAS
Suspend/resume while editing a file with an external editor does not work under SunOS 4.x if you use the curses lib in /usr/5lib. It does work with the S-Lang [...]

Why Dvorak? Comfort

One of the big advantages of typing in the Dvorak layout is the comfort that comes with it. It is estimated that you spend nearly 70% of your time typing on the home row, with only 30% of your time stretching for letters off of the home row. If that’s the case, then [...]