13,256 reputation
12338
bio website
location Nashville, TN
age 27
visits member for 2 years, 8 months
seen 4 mins ago

17h
comment How can I install all packages when apt-get dist-upgrade does nothing?
Are you running testing? Their dependencies probably can not be satisfied.
17h
comment PID of process causing error
Does PIPESTATUS contain the information you need?
Aug
29
comment Where is the appropriate place to deploy web apps?
Developers should never be touching production directly. You should setup an interface for code deployment eg jenkins, puppet, chef, etc.
Aug
29
comment How to disable beep sound in Linux CentOS 7 command line?
This is the way I have done it for years.
Aug
24
comment Syntax error near unexpected token `('
bash in POSIX mode doesn't support that syntax either (when called with --posix or as /bin/sh). Use #!/bin/bash.
Aug
21
comment Is it bad to have too many Kernel modules?
As long as they are modules and not built-in, it won't increase the size of the resulting image, but the overall size would be larger.
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.