Re: simple (and stupid) shell scripting question

2010-02-15 Thread Eray Aslan
On 15.02.2010 09:21, Nerius Landys wrote: But in the case where you're assigning the output of ls directly to a variable like this: FOO=`ls` vs FOO=`ls` the text assigned to FOO is the same, right? Apparently, it is: sh-4.0$ touch x * sh-4.0$ FOO=`ls`;echo $FOO|od 000 020170

Re: simple (and stupid) shell scripting question

2010-02-14 Thread Eray Aslan
On 15.02.2010 08:07, Nerius Landys wrote: DIRNAME=`dirname \$0\` cd $DIRNAME SCRIPTDIR=`pwd` What if I got rid of extra double quotes? Like this: DIRNAME=`dirname \$0\` cd $DIRNAME SCRIPTDIR=`pwd` Does this behave any differently in any kind of case? Are thes double quotes just

Re: cannot kill process with kill -9

2009-04-09 Thread Eray Aslan
On Thu, Apr 09, 2009 at 09:41:31AM +0200, Pieter Donche wrote: I have a mount_nfs process that refuses to get killed : # ps -jaxw | grep mount root 60342 1 60289 602890 D ??0:00.00 mount_nfs [...] How to I get this process killed? reboot. You can't kill a process with a D

Re: Problem with Bash-4 and $(command) syntax

2009-03-12 Thread Eray Aslan
On 13.03.2009 02:04, Mark McConnell wrote: On 12 Mar 2009 at 10:25, Jerry wrote: {Problem with Bash-4 and $(command) ...}: [...] I found the same problem, and have reverted to bash3.2 until it's sorted out. See if the following helps. http://tiswww.case.edu/php/chet/bash/COMPAT

Re: mail server setup questions

2007-09-05 Thread Eray Aslan
On 05.09.2007 11:22, Ted Mittelstaedt wrote: [...] Your reaction is facinating considering the location implied by your e-mail reply address. I can perhaps understand your adversion to the use of metaphors in language - God know the Serbian propagandists warped the metaphor beyond the