Reputation
Next tag badge:
389/400 score
106/80 answers
Badges
6 80 125
Newest
 Good Answer
Impact
~2.6m people reached

1d
comment Best way to delete select email messages from mbox file using script
I think GNU Mailutils's sieve will do what you want, though I've never tried it (else I'd post this as an answer—and anyone reading this is welcome to do so).
2d
comment Merge mp3 files
That's a warning from libav's ffmpeg-compatability-wrapper. You could use avconv, but really—the libav fork is dead, ffmpeg is not. You should just ignore the warning. ffmpeg is not deprecated.
2d
comment How can I auto-close dropped SSH connections?
@eden881 /etc/sysctl.conf or /etc/sysctl.d/ (I'm sure we have a question about those somewhere on the site) — but you might want to think long and hard about reducing it, connections being reset because the network went down for 15 minutes are really annoying too. Especially if the dead sessions staying around aren't really causing a problem.
2d
comment Cron vs systemd timers
@Otheus I think you're taking that part wrong—saying something has been around for a long time isn't an insult. At least to a lot of Unix folks. It's more like saying a house is hundreds of years old—that certainly means it'll have some problems, some stuff will be weird from retrofitting, but it also has a certain charm, and it must have been built well. It's not to say its decrepit. It's a simple tool that has proved useful for four decades.
2d
comment How can I auto-close dropped SSH connections?
@eden881 e.g., the settings here (which I think are default) are the first keepalive is sent 2 hours after the last bit of data was sent, then probes are sent every 75 seconds. If no response is received after 9 probes, then the connection is killed. So, all in all almost 2¼ hours after the network dies, TCP keepalives will kill the connection.
2d
comment How can I auto-close dropped SSH connections?
@eden881 how long have you waited? TCP keepalives will probably take hours to time out the connection. You can tune that, system-wide, see /proc/sys/net/ipv4/tcp_keepalive_* (Client/ServerAliveInterval can be set much quicker).
Apr
27
comment “No space left on device” when trying to copy small folder to an external drive with alot of free space
Which filesystem are you using on the external drive?
Apr
26
comment Is there a practical use for the GNU factor command?
@ViktorDahl Apparently building with gmp is optional, but seems to be done more now... The info page still suggests factor isn't suited for crypto uses: "if you wish to factor large numbers which do not have small factors (for example, numbers which are the product of two large primes), other methods are far better."
Apr
26
comment Merge mp3 files
Since when is ffmpeg deprecated? A few more programs that might work: cutmp3 and quelcom (haven't verified they'll actually join two mp3 files).
Apr
22
comment Why does baobab estimate my usage as less than half compared to du or pan_quota?
@gerrit That's what's going on then, it's small files eating an entire block. A 64k block size is pretty big. The question Gilles linked explains in depth.
Apr
22
comment Squid won't let spindown to happen
if it only reads, that should be satisfiable by disk cache.
Apr
22
comment Why does baobab estimate my usage as less than half compared to du or pan_quota?
Do you have a lot of tiny files? Could be a logical v. physical size difference; what does du --apparent-size -hcsx give?
Apr
21
comment Difference in proper configuration for Windows UART VS Linux UART
Is Linux consistently setting the 7th bit? Also, I confess to having never used screen for serial port work... have you tried minicom? Or just echo -n "a" > /dev/ttyUSB0 (or whatever device); stty should be able to set baud/parity/stop bits/etc.
Apr
21
comment add 10G fiber NIC however not able to see it go to up state
does ip link ls show the ports? How did you attempt to configure them?
Apr
20
comment Can the EFI System Partition be a logical partition on MBR disks?
Curious why you don't want to use GPT? Or how you're booting currently if there is already an OS on the disk...
Apr
20
comment Linux machine is not detecting network card
How is the NIC connected? Have you examined kernel boot logs, and compared a working boot to a non-working one? Also, have you confirmed with lspci/lsusb/etc. that NIC didn't detect (and not that, for example, somehow just got a different name).
Apr
20
comment Merge contents of two partitions into one singular partition
How much data do you currently have on the partitions? Can you take the machine down for maintenance (and e.g., boot from a live cd?) And this data that's going in /var, could you use a symlink (or bind mount) to put it in /home instead?
Apr
19
comment Squid won't let spindown to happen
It's writing to the swap.state file every few minutes (even when idle) or reading from it? Do you have atime updates disabled (noatime) or at least reduced (relatime)?
Apr
16
comment Prevent GIMP from raising & activating new windows/tabs
Looks like I could comment out gimp_display_shell_present (shell) in gimp_display_new from app/display/gimpdisplay.c ... haven't tested this yet.
Apr
16
comment Prevent GIMP from raising & activating new windows/tabs
@Gilles I'm using e16 currently, but desperately need to upgrade... probability to KDE's kwin, which I use everywhere else. Not sure if it's focus stealing prevention would help. (Of course, won't help with the tab part). Recompiling GIMP seems easier than switching window managers, though.