Reputation
46,684
Next tag badge:
373/400 score
82/80 answers
Badges
7 73 119
Newest
 script
Impact
~4.1m people reached

Feb
4
awarded  Enlightened
Feb
4
awarded  Nice Answer
Jan
28
awarded  Nice Question
Jan
23
awarded  Guru
Jan
20
awarded  Guru
Jan
16
comment Prevent user typing accidental space between rm and wildcard
@MartinSchröder: If you happen to be in the directory where the file exists.
Jan
5
awarded  Good Answer
Dec
23
comment Standard way to duplicate a file's permissions
@mernst: That's only necessary for the first cp if the owner/group of the file (e.g. "user") is different from the one doing the copying (e.g. root).
Dec
10
revised Block all ports except SSH/HTTP in ipchains and iptables
improved formatting
Dec
9
revised Software to generate taxonomy trees
fixed typo, added link to another answer
Dec
2
awarded  Good Answer
Dec
2
revised Bash: Spaces in alias name
returned the one-liner form
Nov
26
awarded  Good Answer
Nov
20
comment Add directory to $PATH if it's not already there
It also deletes too aggressively as pointed out by PeterS6g.
Nov
20
comment Add directory to $PATH if it's not already there
This fails in the unusual case that $1 is the only entry (no colons). The entry becomes doubled.
Nov
20
comment Add directory to $PATH if it's not already there
This puts the addition at the end. It is often desirable to add to the beginning in order to override existing locations.
Nov
14
awarded  Good Answer
Nov
10
awarded  Nice Answer
Nov
9
comment How do I interpret the results of the `ls -l` command?
@ychaouche: What do you mean? Whenever a hard link to a file is created or removed, the hard link count of that file is incremented or decremented.
Oct
20
reviewed Edit Can a 7 days full 100% CPU load “burn-in” / “stress test” damage a modern notebook?