19,537 reputation
34173
bio website
location United States
age
visits member for 3 years, 1 month
seen 2 days ago

Debian user, GNU/Linux enthusiast, FLOSS supporter, hobby developer.


Jan
10
comment What is the syntax of a complex condition in shell?
@Offirmo If you declare your script as /bin/sh, it is incorrect to write the script using features not in sh. You should be aware that ksh is NOT sh, but rather a superset of sh. If you take your ksh-but-declared-as-sh script to a system where sh is not a symlink to ksh, it may break. You can avoid that problem by making sure your script matches the declaration.
Jan
9
comment How to limit available virtual memory per process
Related SO question.
Jan
8
comment Escaping argument in bash script?
Check out Gilles' answer for much more detailed explanations.
Jan
8
comment 'convert' taking a long time to create a PNG thumbnail
Do you get similar results with other images?
Jan
8
comment When you try to terminate a process for good, which option for “kill” should you use?
See also UUK9 form letter which cautions against abusing SIGKILL.
Jan
7
comment suid-root doesn't have effect
@sinners I meant to add your OS and gcc information to your original question by editing it. I am not sure what you mean by [del] tags?
Jan
7
comment suid-root doesn't have effect
@sinners Generally it's better to reply to requests for information by editing your original question, so that everyone can see it and not just people following the comments.
Jan
7
comment How to use scriptreplay?
"How to use ..." seems a bit too broad and vague as a title for the question - could you change it perhaps to something like "Extended playback options for scriptreplay (e.g. playback speed, seek, start, end etc.)?"?
Jan
7
comment Is it possible to obtain the current name of the xterm window?
The PROMPT_COMMAND is not the most authoritative way to get the title since it is not always set, and any command you run could change the title between prompts. For the most accuracy, terminal emulator specific control sequences are probably the way to go.
Jan
7
comment How can I convert tab delimited data to comma delimited data?
@burhan The syntax is <kbd>text</kbd>.
Jan
7
comment Is it possible to obtain the current name of the xterm window?
Related stackoverflow question. It looks like xterm has a stack for window title, if you can figure out how to use it.
Jan
6
comment Command-line tool to search docx files
Related stackoverflow answer.
Jan
6
comment How to clean a home directory to install from scratch a previously installed distro?
It would help to make that more clear in your question. I don't use gnome so I'll let someone else answer but I'd start with removing the .gconf* and .gnome* directories. You'll want backups just in case you decide there was something you wanted to keep.
Jan
6
comment How to clean a home directory to install from scratch a previously installed distro?
You'll have to be more clear on what you are trying to do. The "cleanest installation" is to wipe everything. Is that really what you want or do you want to keep most of /home intact except for .gnome stuff?
Jan
6
comment How to clean a home directory to install from scratch a previously installed distro?
If you don't plan on keeping anything doesn't a normal install already nuke everything? Just tell it not to keep the existing filesystem and create a new /home in the partition.
Jan
6
comment Screen content showing for a few seconds before screensaver starts (Fedora 14)
Posting the name of your screensaver program and desktop environment would be helpful.
Jan
6
comment Getting vim to be silent when using -s {scriptin}
There is also ed, which is how you edit files in place when you need to be portable.
Jan
6
comment can I cd or use hot directory in shell link in mc?
Although this is the exact opposite of your second requirement, I would write a short script to append a new entry for the directory to ~/.mc/hotlist on all of your boxes. This would not take too long and would work unless you are opposed to adding a new entry for some other reason.
Jan
5
comment How can same fd in different processes point to the same file?
The source wise greybeard is likely David Wheeler. It appears he also said, "But that usually will create another problem." :)
Jan
5
comment How can same fd in different processes point to the same file?
related question?