12,912 reputation
12236
bio website
location Nashville, TN
age 26
visits member for 2 years, 7 months
seen 17 hours ago

Jul
25
comment How to set up a global interval between SSH log in attempts?
It should be possible with a pam module, but you may need to write it. I am not aware of any that meet this exact criteria. Most people are fine with pam_faildelay.
Jul
23
comment Decoding “prog > file 2>&1”
@terdon yeah, for that reason I always thought it processed right to left but the bash manpage explicitly says "Redirections are processed in the order they appear, from left to right."
Jul
23
comment Decoding “prog > file 2>&1”
I just checked the manpage again and you are correct.
Jul
15
comment telinit 1 and run a command there
Why does it need to be done on runlevel 1?
Jul
13
comment How can you achieve vi's `se ai` in Emacs?
emacswiki.org/emacs/AutoIndentation
Jul
12
comment How to return multiple select count in an array variable in shell
See: stackoverflow.com/a/9449633/1032785
Jul
12
comment Is there a usable gui front-end to git on Linux?
Conflict resolution can be done with git mergetool. I prefer the meld GUI as the mergetool.
Jul
4
comment Autodelete old files
-type f should come first.
Jun
27
comment Installing python gives dpkg error
Bug report is here: bugs.debian.org/cgi-bin/bugreport.cgi?bug=747928. It's closed, but it was closed with an upload to experimental and I don't think the "fix" is correct.
Jun
20
comment Determine FQDN when hostname doesn't give it?
Well, in OP's particular context it is, but it could be correct for some users. The OP said dnsdomainname did not return the domain name which is the only link in the chain that could do the dns lookup.
Jun
20
comment Determine FQDN when hostname doesn't give it?
Actually, it looks like dnsdomainname can do a lookup if your own host is not in /etc/hosts.
Jun
20
comment Determine FQDN when hostname doesn't give it?
It actually doesn't do a DNS lookup at all, so this answer is wrong. See Naftuli Tzvi Kay's answer with my edit.
Jun
17
comment Editing INI-like files with a script
You should let puppet configure the puppet.conf. Just run with you master specified on the command line: puppet agent -t --server yourmaster.
Jun
17
comment Can I use a shell or python script to execute commands in a chroot?
chroot /targetdir command
Jun
16
comment Are there any Linux distributions that focus on binary backward compatibility?
If the binary is statically linked, it doesn't need to care.
Jun
2
comment How to replace a leading zero with white space in SED?
Quote your expansion on the echo, otherwise it strips whitespace.
May
29
comment POSIX usage standards for requiring at least one optional arg
They are not optional. <id=|fields=>.
May
9
comment XML modify and writing to file beautiful soup
That's only changing the order of the attributes. It's not changing the names.
May
6
comment Can't seem to connect to my Debian Mysqli Server?
It should in your error log.
May
6
comment Can't seem to connect to my Debian Mysqli Server?
What was the error?