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

Long-time Linux user (since 1994).


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
11
answered What are the ramifications of setting the hostname?
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
answered How to change the working directory of invoking shell using a script?
Oct
8
revised What happens when you delete a hard link?
fixed some smaller errors (duplication, missing word)
Oct
8
suggested suggested edit on What happens when you delete a hard link?
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
30
accepted List only regular files (but not directories) in current directory
Sep
27
awarded  Popular Question
Sep
23
answered How to process these DHCP logs to be human readable?
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
18
asked List only regular files (but not directories) in current directory
Sep
16
awarded  Yearling
Sep
7
answered How to login from remote server to my own PC?
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.
Sep
6
awarded  Popular Question
Sep
4
comment Shell script to execute a command with iteration
You forgot the host=localhost part in your code. Also why don't you just do for i in *.tab? And what is that code assigning to variable j for?
Sep
4
comment Subprocess.call() and gunzip error
What errors do you get when you use shell=False? It works for me when I do that.
Sep
4
comment Subprocess.call() and gunzip error
Why don't you use the gzip package? It's in the standard library.