Reputation
1,401
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
11 28
Impact
~22k people reached

1d
comment How can I disown a running process and associate it to a new screen shell?
I think this doesn't answer the question. The question begins with "I have a program running". This answer assumes it's not running yet…
Apr
8
comment Help reg to write gawk script
This is quite unclear. If the key is unique, why are there multiple records with that key? What exactly is the transformation rule you want to apply?
Apr
8
comment How can I see a file's historical modification times?
Or if you only need to watch a few files, inotifywait.
Apr
6
comment How can I use ALSA dmix and multi plugins together?
@CL I know, I just think you deserve the credit. (I'll do it if you insist.)
Apr
6
comment How can I use ALSA dmix and multi plugins together?
@CL That gave no output, which made me suspicious. So I checked for typos. And found typos. Actually having a multi to 2 dmixes pointing to hws works! Many thanks for your help and patience! (Post an answer—I'll edit to add the details that worked.)
Apr
6
comment How can I use ALSA dmix and multi plugins together?
@CL Edited to add config. How should 2 dmixes be arranged? I tried giving each a hw slave, and making both of them slaves of the multi, but that gives Device or resource busy as without any dmix.
Mar
31
comment Is using “while true” to keep a script alive a good idea?
mon is a simple alternative, if the lumbering hugeness of monit and systemd bother you as much as they do me.
Mar
28
comment How to avoid sed -i to destroy symlink?
@mikeserv I skipped the implementation details because the question was about the interface. Good to know though, thanks!
Mar
24
comment GIF screencasting; the UNIX way
@Louis Thanks for the clear notes! I edited to link to them.
Mar
24
comment How to toggle between vim buffer and command shell screen in vim?
@Adrian Most shells don't have separate "screens" unless you use something like tmux or a terminal emulator with tab support. Maybe your question is really "how can I run a command without its name being echoed"?
Mar
9
comment How do I add a program with a directory of dependencies to $PATH?
It's expecting particular libraries to be present in the same directory as the executable. (For this particular program, the message is : "Unable to access jarfile: /usr/local/bin/savilerow.jar" when symlinked in /usr/local/bin.)
Feb
24
comment How to tell if output of a command or shell script is stdout or stderr
You could put stderred in your shell environment's LD_PRELOAD to get stdout and stderr in different colours. Here's a related question in that vein.
Nov
30
comment GIF screencasting; the UNIX way
I forgot about this for a while. (Sorry!) This answer should now be up to date with the newest ffcast (version 2.4.1-1).
Oct
30
comment Where are default compose-key bindings stored?
Dang, I forgot strace existed. Great detective work. Thank you!
Oct
29
comment Gnome: forcing an application to start on top
You didn't really answer any of my questions…
Oct
29
comment Gnome: forcing an application to start on top
Why is a new window being displayed below others in the first place? It sounds like something is buggy. I see from tags you're using Gnome; are you running the default window manager? Are other programs setting "always on top" hints? (You can check the latter with xprop and looking for related EWMH hints).
Oct
25
comment Is it possible to create an edited copy of a file without using up extra disk space?
Brain dump: diff detects binary files and switches to summary mode, printing just Binary files X and Y differ, which is supremely unhelpful for patching. You can force it to treat the files as text with --text, so it prints the full listing. Those diffs apply cleanly with patch, though you'll want the --binary flag to disable line-ending conversion. Better-compressing binary patch tools exist though. (Feel free to edit these into your answer.)
Oct
11
comment Graphical issues in vim
I don't understand. Why do you think those things might be related? It seems like coincidence. People often bind keys over default bindings because they weren't using the defaults.
Oct
11
comment Graphical issues in vim
You can also force vim to clear-and-redraw with Ctrl+L or :redraw!.
Oct
5
comment How to write this pseudocode where condition
"Pseudocode" makes this a general programming question. →SO?