13,197 reputation
12338
bio website
location Nashville, TN
age 26
visits member for 2 years, 7 months
seen yesterday

Aug
16
comment Create a desktop configuration file on a Debian 7 OS?
Did you have a question?
Aug
15
comment MySQLWorkbench entity relationship diagram location
This question appears to be off-topic because it is about an application on Windows.
Aug
14
comment Difference between 'sar' and 'iostat' commands
I wouldn't expect accurate IO statistics from inside of a VZ container, regardless of the tool. Anyways, the difference there is sar shows a daily average and iostat without options is since boot.
Aug
14
comment exit a script if an ls line did not find any match
Why do you have a requirement that if statements can't be used? Can you use other conditional operators such as ||?
Aug
5
comment Alternative for jq in debian wheezy to parse json in bash
jq is available in debian. You can get it in Debian stable via backports.
Aug
4
comment Redhat “httpd” can not start anymore. Showing “suEXEC” and “SELinux” notices
Also, errors that occur before httpd fully starts may not even goto the error log. Try starting the httpd process manually to inspect stdout.
Jul
31
comment Delete all but largest file in multiple directories
Is there a particular part of the problem you are stuck on?
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.