tee is a handy little utility that probably all of you know about, but I just found this year. Consider the following scenario: you're maintaining your Gentoo Linux system and you need to add a line to /etc/portage/package.unmask. So you type
sudo echo "sys-kernel/gentoo-sources" >> /etc/portage/package.unmask
right? Nope! The way shell parsing works, that turns into
(sudo echo "sys-kernel/gentoo-sources") >> /etc/portage/package.unmask
which is most certainly not what you want, since you probably don't
have permissions to
/etc/portage/package.unmask. The solution is the
tee utility. It would be invoked like …
An important part of a *nix system is a good terminal emulator. For some, this means the classic xterm. The same xterm that's happy to use 7 MiB of resident memory for each instance. Or perhaps you run a full DE like Gnome and are happy to use gnome-terminal and enjoy 19 MiB of resident. Personally, I use rxvt-unicode (urxvt). It's a very lightweight version of rxvt which has neato features like full Unicode support and a daemon mode that lets you pool multiple instances. For example, my urxvtd processs is using 41 MiB of resident, but hosting 9 urxvtc …read more
Continuing on my theme of SSH tips, today's Tip of the Day talks about
the awesomeness of SOCKS proxying. As some of the more savvy among you
may know, OpenSSH supports full Layer-2/Layer-3 VPN functionality
tun device. This is an incredibly useful feature if you're
off-site and need like-local access to home, work, school, or somesuch.
But it requires root access, and is more than a little bit of a pita to
set up. If all you need is access to things like the web, e-mail, and
instant messaging, there's an easier way.
SOCKS is a transparent …read more
Hello kind readers, and welcome to by *nix Tip of the Day. It's finals week, and I'm sort of slacking, so I thought I'd post some of my accumulated folk wisdom on the Internet, so that it might help others.
Today's topic is SSH Private/Public Keys. If any of you are CS majors, or go to a tech-heavy school, or generally interact with Linux/OS X/Solaris/HP-UX/AIX/any other *nix, you've probably used SSH. SSH, at its most basic, is a replacement for telnet and rlogin; it allows you to get a shell at a remote machine …read more
Since this summer, I've been using a pair of Sennheiser HD280 Pros. Let me just say that they're excellent headphones, and they provide better attenuation than most noise cancellation headphones without murdering the sound quality the way active noise canceling headphones do. This is a great feature when North is having a party, or just when my roommate is listening to music on his speakers. However, like all closed-back headphones, they're a bit constricting, and there are some minor audio artifacts caused by the hard backing.
So, last week, I picked up a pair of Grado SR60's. They …read more
If you haven't seen the recent Microsoft Interoperability announcement, I suggest you read it. It's been Slashdotted, so I figure there's a decent chance that everybody on the Internet has seen it already. This is, of course, an extension of the Microsoft Office Binary Formats release of a few days ago, and I'm equally leery about it. There are some interesting comments on the Office Binary formats on the web, including these by Jeff Licquia, and those he links to by Joel Spolsky.
On the one hand, this is an amazing opportunity for F/OSS developers and pretty much everybody …read more