Published by dpk on Mar 13th, 2009 in Linux with 3 Comments
I’m seeing some funky “new” (to me) behavior that I’m having trouble tracking down. Maybe y’all have seen it before. Using kernel 2.6.18-6-686 (debian etch), I can have a shell script open in vi, and suspend vi to run it. But on 2.6.26-1-686 (debian lenny) I get this error:
host:~/dir# ./shellscript -foo
-bash: ./shellscript: /bin/bash: bad interpreter: [...]
Tags:
Published by dpk on Jan 9th, 2009 in Linux with 1 Comment
seq is a handy tool if you want a list of numbers:
$ seq 1 4
1
2
3
4
But then they had to go and try to be fancy:
$ seq 1000000 1000010
1e+06
1e+06
1e+06
1e+06
1e+06
1e+06
1.00001e+06
1.00001e+06
1.00001e+06
1.00001e+06
1.00001e+06
What the fuck. (The “fix” is to use seq -f %.f)
Tags:
Published by dpk on Feb 14th, 2008 in Linux with No Comments
One of the most difficult things to deal with while using a Linux desktop is the clipboard. There are apparently two clipboards on my desktop — perhaps more? I’m running Debian Etch w/ Gnome 2 based apps, if that matters.
If you copy text from one window, you may not be able to paste it in [...]
Tags:
Published by dpk on Jan 13th, 2008 in Linux with No Comments
I’ve moved from Iceweasel to Firefox 3 beta4, and I’m in love. The bookmark handling is sweet. You can just edit a bookmark by going to the page and clicking on a little icon in the location bar. You can add and remove bookmarks right there, too. The save-password dialog box has been replaced with [...]
Tags:
Published by dpk on Nov 14th, 2007 in Linux with 4 Comments
You know how programs like ‘less’, ‘vim’ and apparently ‘mutt’ and others clear the screen when you exit or suspend them? To some, it’s a feature. To others, myself included, it’s an abomination. Ptang Ptang Olay Biscuit Barrel posted animations that demonstrate the wrong way and the right way for terminals to behave.
If you’re using [...]
Tags:
Published by dpk on Aug 30th, 2006 in Linux with No Comments
There’s not very much information online about using a IBM TS3200 (3573-TL) SCSI tape library with the “mtx” utility, and the documentation for the library doesn’t mention much about Linux at all. I’m using rdump, over SSH, and I’ve reached the end of tape. As I understood it, the tape library was supposed to automatically [...]
Tags:
Published by dpk on Aug 9th, 2006 in Linux with 13 Comments
We’re testing a new server from our primary vendor, one which uses Xeon 5130 chips, on the SuperMicro X7DVL-E motherboard. This board uses Intel’s new onboard 82563EB NIC. For some reason Intel designs their NICs to not be backwards compatible in any way, and so each new NIC release seems to require a brand new [...]
Tags:
Published by dpk on Apr 27th, 2006 in Linux with 2 Comments
Time zones are a major source of annoyance for me, when writing code or working with databases that store time-keyed data. It’s especially irritating when you have to deal with the abomination that is daylight savings time.
So, I’ve finally decided to go ahead and set my server clocks to UTC (or GMT). It wasn’t hard [...]
Tags: