| bio | website | ansible.com.ar |
|---|---|---|
| location | Buenos Aires, Argentina | |
| age | 29 | |
| visits | member for | 2 years, 1 month |
| seen | Apr 27 at 13:35 | |
| stats | profile views | 205 |
I'm a GNU/Linux Systems Administrator with a penchant for programming located on Buenos Aires, Argentina.
|
May 14 |
awarded | Enlightened |
|
May 14 |
awarded | Nice Answer |
|
Apr 5 |
awarded | Yearling |
|
Mar 11 |
awarded | Nice Answer |
|
Feb 18 |
comment |
Is there a way to redirect output to a file without buffering on unix/linux? @Calmarius: compiling coreutils should be quite easy. Just grab a new version from ftp.gnu.org/gnu/coreutils and give it a go. It's standard ./configure && make fare. You don't even have to install it afterwards, you can just use the stdbuf binary off src/. |
|
Jan 31 |
awarded | Good Answer |
|
Sep 21 |
awarded | Custodian |
|
Jul 7 |
comment |
How network devices affect TTL @Pacerier: allow me to clarify. With IPv4 a router has to decrement the TTL field by at least 1, but may choose to decrement TTL by more than 1. In IPv6 the "hop limit" should always be decreased by 1 as per RFC 2460. |
|
Jul 7 |
comment |
How network devices affect TTL @Pacerier: I don't know of any difference apart from the name. I'm guessing it was changed to make it clear that the original semantic from IPv4 RFCs (using TTL literally as a time field instead of the more common hop count, at least in some cases) is deprecated. |
|
Apr 5 |
awarded | Yearling |
|
Mar 15 |
answered | Is it normal to see two varnishd processes? |
|
Mar 9 |
comment |
Run an interactive bash subshell with initial commands without returning to the (“super”) shell immediately @SABBATINILuca: I'm not saying anything like that. This is just a way, and mktemp does solve the temp file issue as @cjc pointed out. Bash could support reading the init commands from stdin, but as far as I can tell it doesn't. Specyfing - as init file and piping them half works, but Bash then exits (probably because it detected the pipeline). The elegant solution, IMHO, is to use exec. |
|
Mar 9 |
comment |
Run an interactive bash subshell with initial commands without returning to the (“super”) shell immediately For a nice effect you can make the temp file remove itself by including rm $BASH_SOURCE in it. |
|
Mar 9 |
answered | Run an interactive bash subshell with initial commands without returning to the (“super”) shell immediately |
|
Feb 28 |
answered | How to estimate hard drive usage on Linux? |
|
Feb 14 |
comment |
PHP $_ENV['HOSTNAME'] no longer returns a value I'd say E is probably missing from variables_order in the appropriate php.ini. Is that right? |
|
Feb 14 |
comment |
PHP $_ENV['HOSTNAME'] no longer returns a value SERVER won't have HOSTNAME, as far as I can tell. I was suggesting that perhaps another variable, like HTTP_HOST, could be used instead. See this question: See this question: stackoverflow.com/questions/3780866/why-is-my-env-empty. Also, this list may come in handy: php-developer.org/wp-content/uploads/scripts/… |
|
Feb 14 |
answered | PHP $_ENV['HOSTNAME'] no longer returns a value |
|
Feb 14 |
answered | How to tell is apache is configured to use perl? |
|
Feb 14 |
revised |
Quit running screen on Linux added 71 characters in body |