Re: Color highlighting of arbitrary "tail -F'ed" text ?

2008-09-04 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff

Maxim -


Following on Moish's first idea you might want to take a look at 
http://brianin3d.wordpress.com/tag/bash/ (script is at 
http://brianin3d.googlepages.com/line_lite.sh) for a script that inserts 
vt100 escape codes based a pattern.



   Yaacov


Moish wrote:


Maxim Veksler wrote:

Hi,

Someone has a good recommendation for a log syntax highlighter ?

I have my application logs where I need to quickly highlight some 
text, in that case "name=" the output is verbose as I'm running in 
TRACE.



Could some one please suggest a suitable tool as I've tried some 
project but the hardly work.

{..}


If it's formatted ( or would be since it's your application ):

1. Add relevant syntax for vt100 terminal or the likes and display the
   output on such a terminal ( dah.. )
2. Import into a spreadsheet.
3. For large amounts of data, import into a db, postgres or whatever.

Moish


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: un-head

2008-12-24 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff

Using trusty awk -

awk -v line_num=5 '{if(NR == line_num){next;} print $0;}' < file


On 24-Dec-2008 13:34 , Dan Shimshoni wrote:

Hello,

- And in the same fun spirit :
Is it possible to delete  a line in a specified file , given the
number of the line, in a non-sed script ?

DanS


On Wed, Dec 24, 2008 at 9:08 AM, Oron Peled  wrote:
  

On Tuesday, 23 בDecember 2008, Erez D wrote:



On Tue, Dec 23, 2008 at 10:17 AM, Valery Reznic wrote:
  

--- On Tue, 12/23/08, Baruch Siach  wrote:
  
tail -n +5
  

It should be +6


That is the reson i preffer "sed '1,5d' " over "tail -n +6"
  

Since everyone are having fun, here is another one: sed -n '6,$p'

--

Oron Peled Voice/Fax: +972-4-8228492

o...@actcom.co.il http://www.actcom.co.il/~oron

"Linux: like the air you breathe, ubiquitous and free"



Re: connect win32 to linux with host-to-host usb cable

2004-11-14 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff
meh -
Perhaps you might try to boot the windows pc from a (Knoppix?) CD and do 
a Linux to Linux synchronization?

   Yaacov
meh wrote:
How can I connect a win98 to my linux box with host-to-host usb cable?
I can't find anything with google.
Please do not refer me to http://www.linux-usb.org/usbnet/ as it 
doesn't refer to windows OS.
I need something like usblink to synchronize with a laptop.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: connect win32 to linux with host-to-host usb cable

2004-11-14 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff

meh wrote:
Yaacov Fenster - System Engineering Troubleshooting and other stuff 
wrote:

meh -
Perhaps you might try to boot the windows pc from a (Knoppix?) CD and 
do a Linux to Linux synchronization?
It's a laptop - it is problematic. NTFS pose problems as well.
What kind of exeternal connections does the laptop have ?
Except I know no similar program to usblink that lets me simply move 
data between the two computers.

meh wrote:
How can I connect a win98 to my linux box with host-to-host usb cable?
I can't find anything with google.
Please do not refer me to http://www.linux-usb.org/usbnet/ as it 
doesn't refer to windows OS.
I need something like usblink to synchronize with a laptop.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: connect win32 to linux with host-to-host usb cable

2004-11-14 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff
Here are a few ideas/questions:
a) Connect a USB CD and boot from it to Linux.
b) Bringup a virtual windows session under vmware and use the windows to 
windows software. (http://www.vmware.com/support/ws3/doc/ws32_devices5.html)
c) Boot the laptop from a diskette and move the files over the network.
d) If you don't have a network connection, you can use an USB NIC.
e) Does it have a parallel port? Or anything else other than USB?
f) Are you going to be synchronizing on a continuous basis, or is this a 
one time shot?

meh wrote:
It might have a serial connection. However it isn't so good so I'd 
rather use the already availible USB.
There must be some sort of sollution for that. Even setting a TCP 
connection is OK - just letme know how
Thanks
Yaacov Fenster - System Engineering Troubleshooting and other stuff 
wrote:


meh wrote:
Yaacov Fenster - System Engineering Troubleshooting and other stuff 
wrote:

meh -
Perhaps you might try to boot the windows pc from a (Knoppix?) CD 
and do a Linux to Linux synchronization?

It's a laptop - it is problematic. NTFS pose problems as well.

What kind of exeternal connections does the laptop have ?
Except I know no similar program to usblink that lets me simply move 
data between the two computers.

meh wrote:
How can I connect a win98 to my linux box with host-to-host usb 
cable?
I can't find anything with google.
Please do not refer me to http://www.linux-usb.org/usbnet/ as it 
doesn't refer to windows OS.
I need something like usblink to synchronize with a laptop.




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: connect win32 to linux with host-to-host usb cable

2004-11-14 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff
There is a significant difference, since this connects you to a 
"normal"  Ethernet cable in which you have a 1 to many relationship 
(using TCP/IP) with other computers instead of a dedicated 1 to 1 
relationship with a dedicated computer for which there doesn't seem to 
be a TCP/IP connection ("networking over USB for Linux").

Given the numbers that you mentioned, you should be all set with 1-2 USB 
NICs.

   Yaacov
meh wrote:
Yaacov Fenster - System Engineering Troubleshooting and other stuff 
wrote:

A USB NIC is a network card (Network InterConnect) that connects to 
your computer using the USB bus. (See for example 
http://www.dlink.com/products/?sec=1&pid=133). Depending on your work 
process, having one or two available may solve your problem.
hmmm.. what's the difference between this and a host-to-host cable, 
it's actally the same only packaged differently.

How often do the clients need to connect to the server and for how long?

for downloading (and sometimes uploading) lectures mp3s to a linux box 
with special program that sort this lectures. I assume it is about 10 
minutes of use, and that it'll be used about three times a week.

How many client laptops are there ?

Not too many three or four.
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Launching a shell script from a remote Windows machine.

2004-11-21 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff
Amir -
Perhaps you might want to use the "magic scripts" in a Samba server 
(http://www.oreilly.com/catalog/samba/chapter/book/ch08_02.html )

Amir Hardon wrote:
I'm looking for a way to create a simple click-n'-forget icon on a Windows(98)
machine, that will invoke a shell script on a Linux server.
The only solution I can think of that doesn't involve writing a client-server 
application specific for this task, is using ssh+putty, but this won't be 
simple enough because it will require more than a double-click from the user.

Thanks for any ideas,
-Amir.
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]
 


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: [OT] buying a domain name

2004-12-11 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff
I have had some good experience with HostCentric - 
http://www.hostcentric.com/ (8.95$/month including hosting, SSH, Apache, 
etc...)

   Yaacov
Noam Meltzer wrote:
Hi,
I was thinking l8ly about buying a domain name.
The Israeli's domains are very expensive (.org.il .co.il), so I thought of 
buying an international cheaper domain.
My question is, does any of you have any experience with any of the companies 
selling domains.
I just don't want to buy a domain from some1 and then discover that he stole 
my credit card info or will be closed the day after, and so on...

10x,
Noam
 


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: [OT] buying a domain name

2004-12-11 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff
Checking their site shows "Register your Domain Now! Only 8.95$"
If you take a look at the details 
(http://www.hostcentric.com/SharedHosting/Unix.asp), you will see that a 
year of registration is 8.95$. A year of parking your domain with e-mail 
is 5.00$ a year.

[And no, I have no financial interest in them. Just a satisfied customer...]
Lior Kaplan wrote:
hi Yaacov,
I believe Noam wanted to register a domain name not to host he's site. But
thanks for the tip (-:
Kaplan
 

I have had some good experience with HostCentric -
http://www.hostcentric.com/ (8.95$/month including hosting, SSH, Apache,
etc...)
   Yaacov
Noam Meltzer wrote:
   

Hi,
I was thinking l8ly about buying a domain name.
The Israeli's domains are very expensive (.org.il .co.il), so I thought
of
buying an international cheaper domain.
My question is, does any of you have any experience with any of the
companies
selling domains.
I just don't want to buy a domain from some1 and then discover that he
stole
my credit card info or will be closed the day after, and so on...
10x,
Noam

 


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


[OT Sell/Give] Books available

2008-03-30 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff

Folks -

Going through my library I uncovered some duplicate books (links to 
Amazon included) that may be of interest to some members of this mailing 
list. Not all of the books are the latest edition or cover the latest 
versions, but they should be relevant to anyone doing work in the 
appropriate fields


I am interested in sending the books all together. In other words - take 
one, take all. All of the books are in good (or better) state.
Any reasonable offer will be entertained including the possibility of 
donating them to a good/common cause.


   Yaacov


Understanding the Linux Kernel, Third Edition 



Effective Perl Programming: Writing Better Programs with Perl (A-W 
Developers Press) 



Programming Web Services with SOAP 



Programming Web Services with XML-RPC (O'Reilly Internet Series) 



Developing Feeds with RSS and Atom 



Java Concurrency in Practice 



PGP: Pretty Good Privacy 



[ Note that this is for 2.4, not 2.6]

*Linux Device Drivers, 2nd Edition 
*




Re: binary diff

2008-04-03 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff

Erez -

Perhaps you could first convert the binary files to text representation 
(od --address-radix none) and then preform the comparison in that 
dimension?


   Yaacov

Erez D wrote:

hi

i am looking for something like 'diff' which can compare binary files 
and give a result other then just 'differ' or 'same'

the same as what diff does for text files.

i though of using xxd with a regular diff, but that doesn't help, as 
if there is one byte missing, all lines are shifted which means they 
are different textually, when they are not really.




thanks,
erez.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Setting up a Router (2)

2005-03-13 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff
Do you mean that your ADSL connection never disconnects ? You never have 
to "redial" ?

Daniel Feiglin wrote:

Yaacov Fenster - System Engineering Troubleshooting and other stuff 
wrote:

Daniel -
What do you do in order to have the ADSL modem re-dial upon failure ?

Nothing. I never hit that one before.
   Yaacov
Daniel Feiglin wrote:
Hello all!
On 02/01/05, I started a short thread about setting up a Linux box 
as a router. Following the various replies received and a bit more 
Googling around, I have arrived at the following setup which almost 
works. I think that another little "kvetch" will get us there.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: how to do "mv ---123.jpg 123.jpg "

2005-03-15 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff
Kfir Lavi wrote:
Hi,
Here is the problem:
mv ---123.jpg 123.jpg 
mv: unrecognized option `---123.jpg'
Try `mv --help' for more information.

I have tried a lot of things but to no avail.
kfir
 

Try mv ./---123.jpg 123.jpg
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


[Somewhat OT] Looking for archive CD of Circuit Cellar

2005-06-19 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff
Is there anyone on the list who might happen to have an archive CD (or 
paper copy) of Circuit Cellar, specifically certain issues in 1990/1991.


   Thanks in advance

  Yaacov


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: VMware Internals Expert

2005-10-10 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff

Eli -

Have you tried going through the manual to see if there is any mention 
of the dialog box there ?


   Yaacov

Eli Marmor wrote:




During any boot of a guest, a warning dialog box pops up, reminding you
to install "vmware-tools" (unless you disable this pop-up). Always when
it pops up, I click at it "automatically", even without reading it.
This time, a similar warning dialog box popped up too, and I clicked at
it, but it was probably another dialog box, because immediately after
it, the standard dialog-box popped up. Maybe the first dialog box
warned me about a problem. Maybe the problem had anything to do with an
action that could not be done due to less enough disk space (the host
had about 3GB free space, which is OK for normal things, but may be too
little for software like VMware with its monster files).


 




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Looking for a source of fax/modems

2005-12-01 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff




Does anyone have a
pointer to a supplier of hylafax-compatible fax/modems ? Any
recommendations ?


    Thanks in
advance


       Yaacov







Looking for SuSE 7.3 CDs/ISOs

2005-12-23 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff




Would somebody
happen to have a copy lying around ?


    Thanks in
advance


       Yaacov







Re: Looking for SuSE 7.3 CDs/ISOs

2005-12-24 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff




Noam -

A long time ago I was able to download the 7.3 ISOs for i386. As a
matter of fact the Solaris ones are still available:
http://sunsite.mff.cuni.cz/MIRRORS/ftp.suse.com/pub/suse/sparc/7.3/iso/

    Yaacov

On 23-Dec-2005 17:24 , Noam Meltzer wrote:
ASFAIK, the 7.3 version was in the period of time when
SuSE (preior Novell era) didn't allow any1 to download the ISOs and
only sold CDs. So I believe that what you're asking is illegal.
Still, maybe I'm wrong.
  
Noam
  
  
  On 12/23/05, Yaacov Fenster - System Engineering
Troubleshooting and other stuff <[EMAIL PROTECTED]
> wrote:
  
Would somebody
happen to have a copy lying around ?


    Thanks in
advance



       Yaacov




  
  







[OT JOB OFFER] IT person with Linux Clusters experience

2006-01-16 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff




Zlango
(http://www.zlango.com) is looking for an IT person with Linux
experience, specifically with Linux Clusters (linux-ha) experience.
Experience managing Java/Tomcat/Database applications would be a
significant advantage.


 

For more details please contact
[EMAIL PROTECTED]





Looking for Backup solutions for Linux

2006-01-25 Thread Yaacov Fenster - System Engineering Troubleshooting and other stuff

Folks -

We are looking for some backup solutions for a Linux based file server. 
Up until now we have been burning DVD's, but as the volume of files 
grows that is becoming a less manageable solution. In general we are 
talking about amounts of up to 20Gb per backed up volume with about half 
a dozen volumes.


Ideally we should be able to backup multiple full copies (over time) of 
a volume (Weekly backup for example), coupled with incremental backups 
of the volume (Daily backup for example).


One option that comes to mind is a dedicated file server, but that means 
that the backups are not physically removed. On the other hand using 
removable disks (USB2.0/Firewire) means that we dedicate a significant 
storage capacity (And cost) to each backup.


Ideas anyone?

   Thanks in advance

  Yaacov


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]