Reputation
Next tag badge:
96/100 score
26/20 answers
Badges
6 114 150
Newest
 Guru
Impact
~3.1m people reached

1d
answered Automating deletion of mail in mutt
Feb
6
comment How can I Log ssh login passwords attempts?
This is a really bad idea. You will end up logging user's mistyped passwords, which is a great starting point to guess their real password from the plaintext. Logging such a thing may even be illegal in your jurisdiction, and it dramatically decreases overall user security. Use keys instead and you will never have to worry about password attempts.
Jan
19
awarded  Guru
Jan
15
comment Meaning of root in GRUB config file
The kernel image isn't "mounted on [the] root file system", the root file system is (by the kernel). :-)
Jan
14
awarded  Good Answer
Jan
7
awarded  Necromancer
Jan
5
awarded  Nice Answer
Dec
14
awarded  networking
Dec
11
awarded  Nice Answer
Dec
7
awarded  Nice Answer
Dec
5
revised Spaces as line breaks from inline for loop command
remove dangerous example
Nov
30
awarded  Enlightened
Nov
30
awarded  Nice Answer
Nov
25
comment Bash: remove numbers (strip numeric characters) from string variable
Yeah, it's good for the question asked. It's not uncommon for Westerners to assume that [;digit:] == [0-9] though, so worth mentioning the pitfalls :-)
Nov
25
comment Bash: remove numbers (strip numeric characters) from string variable
Note: depending on your locale, [:digit:] might contain more or less than you would expect it to. If you only want the numbers 0 to 9, use LC_COLLATE=C and [0-9].
Nov
24
comment How to display output of command while also parsing it?
xargs deploy has quite inane rules for input delimitation. I'd suggest avoiding it, or using -0 instead. Also, going out to /dev/tty results in some potentially undesirable properties (such as the output defying further redirection) -- I'd suggest switching around FDs instead if you want to go this route.
Nov
24
comment What purpose does reassigning a variable to itself via echo serve?
That said, you might as well just use ${a[0]}, which is not only easier to read, but doesn't suffer from some of the problems present in this method (word splitting, globbing, etc).
Nov
24
answered How to display output of command while also parsing it?
Nov
24
revised How can I resolve a hostname to an IP address in a Bash script?
promote getent version
Nov
24
comment Random files selector in filesystem
The reason a tool like the one you describe is not widespread is because, in general, sysadmins want to check the integrity of their backups as a whole, not single files (why do you want to do this?). You can easily do this with (for example) duplicity, using duplicity verify.