272 reputation
24
bio website
location Switzerland
age
visits member for 2 years, 11 months
seen Feb 16 at 22:08

Feb
5
answered How to get netmask from bash?
Feb
1
answered mount.cifs : mount error(12) : Cannot allocate memory
Dec
30
comment How to let `named` (bind9) forward certain domains to a different nameserver?
You might also need to replace dnssec-validation auto; with dnssec-validation no; in named.conf.options.
Dec
30
answered How to create Maildir directory with enough permissions for Postfix?
Dec
15
revised How can I detect if the shell is controlled from SSH?
use proc/$PPID/stat instead of ps
Dec
15
comment How can I detect if the shell is controlled from SSH?
@bene: The alternative solution which I just added should also work with IPv6. I don't know about tmux, but it does also work in screen.
Dec
15
revised How can I detect if the shell is controlled from SSH?
added alternative of recursive search for sshd in parents
Oct
31
awarded  Yearling
Oct
3
awarded  Necromancer
Jul
31
awarded  Excavator
Jul
31
revised Convince apt-get *not* to use IPv6 method
updated link
Jul
31
suggested suggested edit on Convince apt-get *not* to use IPv6 method
Jun
4
comment How to delete commands in history matching a given string?
While there are working answers below, I still wonder why it doesn't work with history -d X. I came across this question because I had just done history | grep search_str | sort -nr | awk '{print $1}' | while read i; do history -d $i; done. No error, but nothing deleted. Anybody can explain why?
Apr
17
revised Why do some Linux files have a 'd' suffix?
remove UUOC
Apr
16
suggested suggested edit on Why do some Linux files have a 'd' suffix?
Mar
2
revised How to copy the partition layout of a whole disk using standard tools
links to source
Feb
10
comment How can I detect if the shell is controlled from SSH?
@bene: what doesn't work? The regular expression, or does who am i not show your IPv6 address?
Jan
5
answered How to copy the partition layout of a whole disk using standard tools
Nov
24
answered Can I set up linux to accept a dial up connection from my old windows95 laptop?
Nov
23
revised How to skip “permission denied” errors when running find in Linux?
Corrected redirection: "2>1" changed to "2>&1"