bsdlabel size mismatch

2010-01-27 Thread Evuraan
On a FreeBSD 7.2 machine, I've a ~1TB drive as /dev/da0: da0: 953664MB (1953103872 512 byte sectors: 255H 63S/T 121575C) the lone slice is of ~19G (per df) yet bsdlabel shows that it is spanning the entire drive. also notice how it says unused despite it really being an ufs FS. [r...@evu ~]#

Re: scripting tip needed

2009-07-03 Thread Evuraan
good thing you found the answer. I am glad you did, and oh, I am more glad that you found your solution on ksh itself and not on advanced scripting language, like Perl or Python.'' Guys, I eventually found it with lots of rtfm on variable substitution and such.. [...@dada~]$ z=0

bash while read question

2010-05-05 Thread Evuraan
I cant figure out why the variable in in loop2 does not hike to +1? (its a friday, i am dazed, I admit. but this should not be a mystery!) any help would be much appreciated. $ cat loop1 #! /bin/bash date /tmp/somefile b=1 while read blah; do let b=(b+1) done /tmp/somefile echo variable is

RE: bash while read question

2010-05-06 Thread Evuraan
2010/5/5 CyberLeo Kitsana cyber...@cyberleo.net: On 05/05/2010 08:25 PM, Evuraan wrote: I cant figure out why the variable in in loop2 does not hike to +1? (its a friday, i am dazed, I admit. but this should not be a mystery!) any help would be much appreciated. snip $ cat loop2 #! /bin

awk question (actively tail a file notify when expression is found)

2009-04-22 Thread Evuraan : : ഏവൂരാന്‍
Greetings..! this works, tail -f /var/log/apache2/access.log | nawk '/192.168.1.100/{ print $0 }' and this too: tail -f /var/log/apache2/access.log |awk ' /192.168.1.100/ { system (mail -s \This works\ m...@email.address)}' but this below, does not work tail -f /var/log/apache2/access.log

Re: awk question (actively tail a file notify when expression is found)

2009-04-22 Thread Evuraan : : ഏവൂരാന്‍
to look at ``swatch'' which is designed to do this, and monitors multiple log files simultaneously. On Wed, Apr 22, 2009, Evuraan::  wrote: Greetings..! this works, tail -f /var/log/apache2/access.log | nawk '/192.168.1.100/{ print $0 }' and this too: tail -f /var/log

distributed shell (dancers shell)

2008-11-24 Thread Evuraan::ഏവൂ രാന്‍
How/where can I get dsh for Freebsd? attempts to compile it afresh have been failing, hence this question. thx. checking for endnetgrent... yes checking for open_dshconfig in -ldshconfig... no configure: error: dshconfig not found!! ___