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 ~]#
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
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
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
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
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
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!!
___