753 reputation
31621
bio website
location United States
age
visits member for 4 years, 11 months
seen Sep 10 '10 at 23:56

Apr
27
comment What's the modern way to get Linux to boot in text (but not singleuser) mode?
I haven't run that yet, but "find /etc/rc*.d | grep gdm" prints nothing. How do I figure out which rc script is launching gdm?
Mar
29
comment Why won't dhclient use the static IP I'm telling it to request?
Good info, but one last question: it still says, "DHCPREQUEST of 192.168.1.27 on eth0 to 255.255.255.255 port 67" ... is there any way to force my client to request a particular IP?
Jan
12
comment Fast extraction of a time range from syslog logfile?
About 30 GB, on a network-mounted disk.
Jan
12
comment Fast extraction of a time range from syslog logfile?
It seems you overlooked my third bullet point. The logs are on the order of 30 GB -- if the first line of the file is 7:00 and the last line is 23:00, and I want the slice between 22:00 and 22:01, I don't want the script looking at every line between 7:00 and 22:00. I want it to estimate where it would be, seek to that point, and make a new estimate until it finds it.
Jan
12
comment Fast extraction of a time range from syslog logfile?
I don't mind Ruby, but #1 is not straightforward if you want to do it efficiently in a large file -- you need to seek() to the halfway point, find the nearest line, see how it begins, and repeat with a new midpoint. It's too inefficient to look at every line.
Jul
8
comment How do I tell apt to never upgrade a particular package?
Hmm. That doesn't seem to be working. See edit.
Jul
8
comment How do I tell apt to never upgrade a particular package?
So if apt thinks I'm running 3.0, but I'm actually running 3.5, what do I put?
Jul
8
comment How do I tell apt to never upgrade a particular package?
So if apt thinks I'm running 3.0, but I'm actually running 3.5, what do I put?
Jul
8
comment How can I set a search domain (and other resolv.conf parameters) in Ubuntu?
Cool! So if I want the line "search local mydomain.com" to always be in /etc/resolv.conf, what's the supersede line for that?
Jul
1
comment Is it possible to detach a process from its terminal? (Or, “I should have used screen!”)
Won't it be killed when I turn off my computer, thus severing the SSH session and killing the shell?
Jul
1
comment Is it possible to detach a process from its terminal? (Or, “I should have used screen!”)
Won't it be killed when I close my shell?
Jul
1
comment Override MAILTO for a single crontab entry
This doesn't work -- the "mail" command sends regardless of whether or not it gets output. So I get an empty message on success, whereas what I want is no message on success.
Jun
26
comment Why can't you fsck a mounted partition?
Actually, i think a better analogy would be to look at a moving blender, or glance over the edge of a tall building. Read-only.
Jun
22
comment How do I list a file's data blocks on Linux?
-s shows the size of the file in blocks -- i want an actual list of the block numbers.
Jun
3
comment How can I get Firefox to display MIME types in-browser?
Nope. You can do that for, say, "HTML document", but for some reason the option isn't there for arbitrary types like JSON.