1,858 reputation
2824
bio website none
location Copenhagen, Denmark
age 40
visits member for 2 years, 7 months
seen 41 mins ago

Long-time Linux user (since 1994).


Mar
12
comment Why does this executable still execute after I deleted it?
Of course, the executable could have been recreated from a different shell between the ls -la and the ./testedfb.
Mar
8
comment Opening ALSA Microphone in two programs?
I guess something like JACK (jackaudio.org) could do that, but that's not easy to set up , I believe.
Mar
4
comment List only regular files (but not directories) in current directory
The version using $f works for me. Maybe I have an old bash version? I couldn't find $_ in the Bash manual, even though it does exist.
Mar
4
comment List only regular files (but not directories) in current directory
No. In a directory with two subdirs (1 and 2) and two files (3 and 4), it prints "/bin/sh" twice. Again, what is the meaning of $_?
Mar
4
comment List only regular files (but not directories) in current directory
Which shell is that for? Bash doesn't print anything, I guess because $_ is empty
Feb
24
comment What do $@ and $< in a makefile mean?
@vonbrand yes, pretty sure.
Feb
21
comment python vs bc in evaluating 6^6^6
I'd rather put the be command line into a script and time the execution of that. Or use echo 6^6^6 | time bc.
Feb
19
comment What is the right file permission for a .pem file to SSH and SCP
You have to tell scp to also use the .pem file
Feb
12
comment What are alternative tools for searching files in full content?
ack searches are line-based, just like grep.
Feb
5
comment Using the same mbox file for multiple accounts
What do you want to do?
Jan
28
comment How to find out what's wrong on all of my Qt programs?
Have you tried to fix the dead_actute bug? Maybe it's the cause of the segmentation fault
May
16
comment How to install Debian package with file extension .deb
You are misspelling dpkg in your example command. Are you aware of that?
Jan
17
comment Alter path of find result
@ChrisDown Please read the answer carefully before commenting on it ;-) cd /./ ; pwd ; readlink -f .
Oct
15
comment Executing user defined function in a find -exec call
Thanks! I didn't think of that..
Oct
15
comment Executing user defined function in a find -exec call
Can you explain why there are two occurrences of ksh or bash in the -exec command? I understand the first, but not the second occurrence.
Oct
8
comment How to send all output to a pager by default?
How would such a system recognise commands where this should not be done? E.g. console Vim, nano, mutt, less, top
Oct
8
comment Piped input to nano
What are the nano versions in those distributions? Maybe the different behavior comes from an older version..
Sep
18
comment List only regular files (but not directories) in current directory
@rahmu I was for something similar to ls -d */, which is short, easy to type, and easy to understand. So I'm pretty happy with Ulrich Dangel's answer, even though I'm not using zsh.
Sep
18
comment List only regular files (but not directories) in current directory
zsh surely has some real nice features. Maybe I should switch...
Sep
7
comment How to login from remote server to my own PC?
This only works if the PC is actually directly connected to the internet, which is pretty unlikely.