Linux-Misc Digest #37, Volume #24                 Tue, 4 Apr 00 04:13:03 EDT

Contents:
  Re: Cut 'n paste from KDE app to Netscape (Frank Ray Kinser)
  Boost from MS Anti-trust Ruling? (Pylon)
  Re: Cut 'n paste from KDE app to Netscape (Dowe Keller)
  Re: Samba: NT can see me but not read.... ("Martin Beier")
  Re: Boost from MS Anti-trust Ruling? (Christopher Browne)
  Re: finding files and strings ("Martin Beier")
  Re: Script question ("Martin Beier")
  Re: WHAT DOES FOO MEAN???? ("Charles Sullivan")
  Re: bash prompt (Frederic L. W. Meunier)
  Printing from Applix Anyware (Scott)
  Re: serial port (Jeff Dillon)
  Re: Questions (Jeff Dillon)
  Re: Questions (Jeff Dillon)
  Re: I messed up my MBR (Duane Evenson)
  Re: Using dd to copy copy-protected floppies ("Charles Sullivan")
  Re: mounting second hard disk ([EMAIL PROTECTED])
  Re: saving newgroup (Sven Bovin)
  Lockups (Vinh Le)
  Re: Any web based free e-mail system run on Linux?? ("Calvin")
  Re: pppd dies from SIGHUP (Villy Kruse)
  Re: bash prompt ("Peet Grobler")
  Re: Newbie - a few questions (G. Asch)
  Re: Questions (G. Asch)
  Re: finding files and strings
  Printing in Mac via Linux spooler (Josep V. Taus)
  access win98 from linux ([EMAIL PROTECTED])
  Re: access win98 from linux ("Peet Grobler")
  Re: Problem: "cannot unlink" (Robert Nichols)

----------------------------------------------------------------------------

From: Frank Ray Kinser <[EMAIL PROTECTED]>
Subject: Re: Cut 'n paste from KDE app to Netscape
Date: Tue, 04 Apr 2000 00:28:30 -0400
Reply-To: [EMAIL PROTECTED]

Unfortunately, there is no cut-n-paste between most other apps and
Netscape. I do not believe this is a shortcoming of Netscape though. I
believe the issue lies in cut-n-paste in general between KDE and non-KDE
apps.

I have been able to do a limited workaround at times by opening the file I
want to cut from in Netscape Composer, copying it to the Netscape
"clipboard" and then pasting in another area of Netscape. This is not the
most elegant work around but it works in a lot cases for me.

I don't believe there is a global clipboard like there is in Windows. If
there is, then Netscape doesn't use it. That would be an interesting
question to post to the NG.

HTH

"G. R. Gaudreau" wrote:

> Hi all,
> I'm running KDE and trying to find a way to cut 'n paste between a KDE
> app and Netscape messanger. Netscape doesn't seem to want to accpet data
> from KDE apps. Is there a way of doing this?
>
> --
> You go Yahweh, I'll go mine.
>
> Rev. G. R. Gaudreau
> [EMAIL PROTECTED]


------------------------------

Subject: Boost from MS Anti-trust Ruling?
From: Pylon <[EMAIL PROTECTED]>
Date: Mon, 03 Apr 2000 21:26:57 -0700

Will Linux enjoy wider distribution as a result of MicroSofts'
anti-trust ruling?

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


------------------------------

From: [EMAIL PROTECTED] (Dowe Keller)
Subject: Re: Cut 'n paste from KDE app to Netscape
Date: Tue, 04 Apr 2000 04:37:43 GMT

On Tue, 04 Apr 2000 00:28:30 -0400, Frank Ray Kinser <[EMAIL PROTECTED]> wrote:
>Unfortunately, there is no cut-n-paste between most other apps and
>Netscape. I do not believe this is a shortcoming of Netscape though. I
>believe the issue lies in cut-n-paste in general between KDE and non-KDE

Oh Bullwinkle!

1. Select an area from window A using the left mouse button
2. In window B press the middle mouse button [1]

The text that you cut from window A has been copied to window B
at the cursor. This will work anytime in X, even if your not using
one of those bloated desktop managers.

[1] if your using a two-button mouse, you will need to press left
and right mouse buttons simultaniously.

-- 
dowe                                            [EMAIL PROTECTED]
---
If you think things can't get worse it's probably only because you
lack sufficient imagination.

------------------------------

From: "Martin Beier" <[EMAIL PROTECTED]>
Subject: Re: Samba: NT can see me but not read....
Date: Tue, 4 Apr 2000 07:05:26 +0200

> Ken Yasuda wrote:
> >
> >         I've got Samba configured in such a way that NT machines can
find me
> > on the local net, including the directory I've decided to make public.
> > However, when I click on the directory from a Windoze machine, I get a
message
> > that I'm not sure what to make of:
> >
> >         \\[my linux computer's name]\[the directory's name] is not
accessible.
> >         The network name cannot be found.
> >
> >         After reading the Samba HOW-TO, I find no reference to anything
that
> > can account for this behavior.
Did you enabled encrypted passwords in smb.conf? NT uses them, Samba does
not by default. Also use smbpasswd to add users to Samba.

[EMAIL PROTECTED]




------------------------------

From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: Boost from MS Anti-trust Ruling?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 04 Apr 2000 04:52:37 GMT

Centuries ago, Nostradamus foresaw a time when Pylon would say:
>Will Linux enjoy wider distribution as a result of MicroSofts'
>anti-trust ruling?

Immediately?  Probably not.

It takes time for retailers and the likes to "retool" and otherwise
establish relationships with producers of Linux-related software.
-- 
Rules of the Evil Overlord #48. "If my trusted lieutenant tells me my
Legions of Terror are losing a battle, I will believe him. After all,
he's my trusted lieutenant." 
<http://www.eviloverlord.com/lists/overlord.html>
[EMAIL PROTECTED] - - <http://www.ntlug.org/~cbbrowne/lsf.html>

------------------------------

From: "Martin Beier" <[EMAIL PROTECTED]>
Subject: Re: finding files and strings
Date: Tue, 4 Apr 2000 07:18:40 +0200

> 1. best command to find files like *.doc from a harddisk and the whole
> path is shown !
find <path> -name \*.doc -print

> 2. best command to find a certain string in a file from a harddisk and the
> whole path is shown !
find <path> -name <file> -print | xargs fgrep -n <string>

[EMAIL PROTECTED]




------------------------------

From: "Martin Beier" <[EMAIL PROTECTED]>
Subject: Re: Script question
Date: Tue, 4 Apr 2000 07:24:43 +0200


> How would you write a script, to only run if a file size is above 100K?
>
> E.g, in the top part of the script, it should check if the filesize is
above
> 100K. If it is not, the script should end normally right there.

#!/bin/sh
FILE=...
SIZE=102400    # 100K

echo -e "checking filesize...\c"
if [ "`ls -l ${FILE} | awk '{ print $5}'`" -le ${SIZE}]; then
  echo "file too small!"
  exit 1
fi
echo "ok."
...

[EMAIL PROTECTED]




------------------------------

From: "Charles Sullivan" <[EMAIL PROTECTED]>
Subject: Re: WHAT DOES FOO MEAN????
Date: Tue, 4 Apr 2000 01:20:39 -0400

Whoever started using foo as an example really fu'd.

It was used in some 8088 assembler manuals and newbies
couldn't tell whether it was supposed to be the text string
"FOO" or the hexadecimal 0xf00.

Dave Brown wrote in message ...
>In article <[EMAIL PROTECTED]>, CG wrote:
>>I sort of gather that it's a made up word, but sometimes I see
>>instructions or commands in documentation such as 
>>
>>.../foo/something
>>
>>is foo used here like some kind of variable?
>
>It's an ancient programming example name, usually paired with 
>"bar", as in /foo/bar or foo.bar, etc.  According to "Saving 
>Private Ryan", "fubar" was a standard GI epithet, "f*****up 
>beyond all recognition"
>
>-- 
>Dave Brown  Austin, TX


------------------------------

From: Frederic L. W. Meunier <[EMAIL PROTECTED]>
Subject: Re: bash prompt
Date: 4 Apr 2000 05:28:15 GMT

Or read the Bash-Prompt-HOWTO in /usr/doc/HOWTO .

-- 
Fr�d�ric L. W. Meunier [Tel: +55-21-620-7173 - Niter�i-RJ Brasil]
fredlwm@{olympiquedemarseille.org,{marseille.}nitnet.com.br}

------------------------------

From: Scott <[EMAIL PROTECTED]>
Subject: Printing from Applix Anyware
Date: Tue, 04 Apr 2000 05:30:11 GMT

I have an Applix Anyware server running on Win NT.  I'd like to be able to 
print from a Win NT / IE5 client connected to this machine, however this 
fails with messages along the lines of 'can't print to printer <through 
browser>'.

Any ideas appreciated.

--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: Jeff Dillon <[EMAIL PROTECTED]>
Subject: Re: serial port
Date: Tue, 04 Apr 2000 23:41:30 -0500


> I tried ttyS0 and ttyS1 without success, I will chech the messages as
> you suggest.

How did you "try" them?
man setserial


-- 

==============================================================
Jeff Dillon                     http://www.jeffdillon.com

------------------------------

From: Jeff Dillon <[EMAIL PROTECTED]>
Subject: Re: Questions
Date: Tue, 04 Apr 2000 23:45:25 -0500

> - I want to get a browser like Network Neighborhood but for Linux so I can
> browse Windows machines and/or other Unix based machines. Does such a thing
> exist?

Yeah, there are a few gui interfaces for samba. Check out freshmeat.net.

> 
> - How big of a deal is it to convert a Solaris app to run in Linux? Is it
> worth the trouble?

There is a program which natively runs Solaris apps under linux called
lxrun. Get it at sunfreeware.org.

> - How can I make my swap partition smaller, and dedicate the extra space
> gained back to my main Linux partition? I accidentally made it too large.

There 's a program called gnuPart. Search for it.

> - While Linux boots, it autodials my ISP - can anyone tell me how to shut
> this off?

Check out the scripts in /etc/rc.d/rc5.d. 

jeff

-- 

==============================================================
Jeff Dillon                     http://www.jeffdillon.com

------------------------------

From: Jeff Dillon <[EMAIL PROTECTED]>
Subject: Re: Questions
Date: Tue, 04 Apr 2000 23:47:29 -0500


The site is sunfreeware.com NOt sunfreeware.org, sorry.

Jeff Dillon wrote:
> 
> > - I want to get a browser like Network Neighborhood but for Linux so I can
> > browse Windows machines and/or other Unix based machines. Does such a thing
> > exist?
> 
> Yeah, there are a few gui interfaces for samba. Check out freshmeat.net.
> 
> >
> > - How big of a deal is it to convert a Solaris app to run in Linux? Is it
> > worth the trouble?
> 
> There is a program which natively runs Solaris apps under linux called
> lxrun. Get it at sunfreeware.org.
> 
> > - How can I make my swap partition smaller, and dedicate the extra space
> > gained back to my main Linux partition? I accidentally made it too large.
> 
> There 's a program called gnuPart. Search for it.
> 
> > - While Linux boots, it autodials my ISP - can anyone tell me how to shut
> > this off?
> 
> Check out the scripts in /etc/rc.d/rc5.d.
> 
> jeff
> 
> --
> 
> --------------------------------------------------------------
> Jeff Dillon                     http://www.jeffdillon.com

-- 

==============================================================
Jeff Dillon                     http://www.jeffdillon.com

------------------------------

From: Duane Evenson <[EMAIL PROTECTED]>
Subject: Re: I messed up my MBR
Date: Mon, 03 Apr 2000 23:29:29 -0600

You should install LILO in Linux's boot partition. This space isn't used
anyway. It also makes enabling and disabling LILO easy from Linux or DOS. Just
make this or your DOS/Windows partition the first active partition to switch
LILO on or off.
This way you don't have to worry about restoring a messed up MBR.


Catilina wrote:

> Never mind, fdisk /mbr fixed my problem :-)
> Now I only need to figure out how to install LILO in a way this doesn't
> happen again...
> Sorry for the fact I've posted this question without looking for the answer
> myself first!


------------------------------

From: "Charles Sullivan" <[EMAIL PROTECTED]>
Subject: Re: Using dd to copy copy-protected floppies
Date: Tue, 4 Apr 2000 02:26:37 -0400

Duane Evenson wrote in message <[EMAIL PROTECTED]>...
>I have an old DOS game on a copy protected diskette (720 kB). I thought
>dd would allow me to make a backup -- no good. I'm guessing that I need
>to change the floppy dirk parameters using setfdparm. Is this right?
>Does anyone know how to get the needed disk parameters?
>What should I do?
>
>Thanks,
>Duane Evenson


There were any number of schemes used to copy-protect diskettes,
most relying on some unusual sector arrangement or numbering.
One of the first and simplest (on Lotus 123) was adding an extra 
(short) sector on one track, but later schemes were somewhat
more elaborate.

So you'd have to write a special formatter to duplicate what's
on the original disk, or else disassemble the program and hot
patch the part which looks for this unusual formatting.

As pointed out in another reply, there was one scheme which
used a laser to burn a defect into the media which the program
would then detect.  But I think this was only used for 5.25" 
flops.  If you looked closely while rotating the diskette
media in its jacket you could spot the burn mark.

The old DOS CopyII PC program worked on most of the
software schemes at least.  It would not be able to handle 
the burn mark except by patching the code (and it may have
done so).

Copy protection schemes went by the wayside because legitimate
users were greatly inconvenienced (or greatly at risk) while
the pirates had it easy.




------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: mounting second hard disk
Date: Mon, 03 Apr 2000 23:42:13 -0800

In article <[EMAIL PROTECTED]>, Markus Wagner 
<[EMAIL PROTECTED]> wrote:
> Hello,
> 
> when I partition my second harddisk with cfdisk as one large Linux
> partition I get the following results:
> 
> cfdisk reports one partition "sdb5".
> fdisk reports two partitions: "sdb1: Extended", "sdb5: Linux", both
> occupy the same disk area
> 
> Why do I get two partitions?

When you use extended partition you create a logical partition upon the extended 
partition.  You use the logical partitions device number when mounting, you never use 
the extended partitions number.  So in your case, when you mount the new partition you 
use /dev/sdb5.

> Why aren't the partitions numbered incrementally?
> What's the difference between "primary" and "logical" partition?

This is for x86 Linux only...

Primary partitions are just normal partitions.  Logical partitions are partitions 
which are created within extended parition space.  So if you have a 2 GB extended 
partition you can create 2 1GB logical partitions on the extended partition disk.

In Linux it does not matter which you use, however you can only have 4 real partitions 
(a remnant of the good old days)  so you create an extended (you can only have one) to 
allow you to create logical partitions.

So you can have 3 primary partitions and one extended.  Then within the extended 
partition you can create many logical partitions (don't remember the limit offhand).

I think there is a partitioning mini-howto, so if you need more info look around the 
doc sites.

--
Jim Zubb
[EMAIL PROTECTED]



------------------------------

From: Sven Bovin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: Re: saving newgroup
Date: Tue, 04 Apr 2000 08:49:21 +0100

Diego Berge wrote:
> 
> On Fri, 31 Mar 2000 16:44:27 +0200, Patricia
> <[EMAIL PROTECTED]> wrote:
> 
> >On Fri, 31 Mar 2000, Maurizio Palesi wrote:
> >>Hi all,
> >>    Is possible to save a newgroup and consult it off-line with netscape
> >>4.7?
> >>Bye,
> >>    Maurizio
> >Maurizio
> >No, Netscape can not be used as a off-line newsreader.
> >try using KRN in KDE .
> >(use the latest version 0.6.1.1)
> >works great.
> 
>    I have a feeling of seeing that exact same thread before, but
> anyway -- are you sure Netscape 4.7x can't be used as offline
> newsreader? I can positively tell I did use Netscape 4.something to do
> that last year for a while (I used to d/load the news and then read
> them while conmuting) I might look it up in the linux machine
> tomorrow, just to be sure.
> 
> Regards,
> Diego Berge.

I _seem_ to be doing about the same right now.  I've opened
this newsgroup yesterday but could not read all messages.
Then today, I opened it again, and the messages did not have
to be d/l'ed (except for the new ones).  They _seem_ to be
locally stored on disk somewhere (probably consuming huge
amounts of space somewhere in my /home-directory).

Greetings

Sven

-- 
============================================================
 Sven BOVIN                  [EMAIL PROTECTED]

 labo kwantumchemie |IJzerenmolenstr 26|                   
 Celestijnenln 200F |   bus 116        |Wampenberg 88      
 B-3001 HEVERLEE    |B-3001 HEVERLEE   |B-2370 ARENDONK    
  Belgium           | Belgium          |Belgium            
 tel +32(0)16 327380|                  |tel +32(0)14 678310
 fax +32(0)16 327992|                  |fax +32(0)14 678310
============================================================

------------------------------

From: Vinh Le <[EMAIL PROTECTED]>
Subject: Lockups
Date: 4 Apr 2000 06:50:33 GMT

I've been experiencing Linux lockups; that is, X freezes
and the keyboard and mouse stop functioning completely.
( A power down is necessary. )

I think there may be a conflict between the modem and
sound card, because I'm usually playing .mp3's through
xmms and terminating the modem connection at that moment.
How do I go about debugging this problem?

Thanks!

Vinh
[EMAIL PROTECTED]

------------------------------

From: "Calvin" <[EMAIL PROTECTED]>
Subject: Re: Any web based free e-mail system run on Linux??
Date: Tue, 4 Apr 2000 15:04:57 +0800

Hi Steve,
    It is because my boss want the web site to provide free mail service to
members. We are going to move to out own new server which using linux. And i
don't wanna implement it myself if there are already cool one on the net.

Best regards
Calvin

Steve ���g��峹 ...
>On Mon, 3 Apr 2000 23:27:50 +0800, Calvin wrote:
>>Hi,
>>    I want to find a web based free e-mail system that running on Linux???
>>is there any one?? Or i need to write one myself?
>
>Why when you can set it up as a real mail server?
>
>--
>Cheers
>Steve              email mailto:[EMAIL PROTECTED]
>
>%HAV-A-NICEDAY Error not enough coffee  0 pps.
>
>web http://www.ndirect.co.uk/~sjlen/
>
>or  http://start.at/zero-pps
>
>  5:48pm  up 3 days,  2:24,  5 users,  load average: 1.00, 1.01, 1.00



------------------------------

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: pppd dies from SIGHUP
Date: 4 Apr 2000 07:06:45 GMT

On Mon, 3 Apr 2000 14:53:41 -0400,
          Madhusudan Singh <[EMAIL PROTECTED]> wrote:


>Try using the noauth option. I had the same problem once.
>



Just consider wath 'auth' does:  It requests that the ISP provides name
and password, and most ISP systems are not willing to provide this so
they would then drop the line, and your modem will drop the CD line
resulting in a SIGHUP signal.  Running pppd with debug enabeled should
show that very clearly in the debug log file.




Villy

------------------------------

From: "Peet Grobler" <[EMAIL PROTECTED]>
Subject: Re: bash prompt
Date: Tue, 4 Apr 2000 09:23:15 +0200

I did read it. It doesn't say how to print the working directory.
Frederic L. W. Meunier wrote in message <8cbuhe$32oa2$[EMAIL PROTECTED]>...
>Or read the Bash-Prompt-HOWTO in /usr/doc/HOWTO .
>
>--
>Fr�d�ric L. W. Meunier [Tel: +55-21-620-7173 - Niter�i-RJ Brasil]
>fredlwm@{olympiquedemarseille.org,{marseille.}nitnet.com.br}



------------------------------

Subject: Re: Newbie - a few questions
Reply-To: G. Asch <[EMAIL PROTECTED]>
From: G. Asch <[EMAIL PROTECTED]>
Date: 03 Apr 2000 10:47:34 -0400


soldier  <[EMAIL PROTECTED]> writes:

s> Hello, I purchased Linux 6.0 with the Linux Unleashed book. I have
s> installed it and learned all the basics, and have a few questions I
s> was hoping someone could answer:

I guess it's redHat ?

s> 1. I have download Linux apps and installed them with GNORPM. But
s> afterward, I can find no icons to run the applications? GNORPM
s> shows the app is installed and what directory it is installed in. I
s> am running the Gnome X Windows interface and am logged in as root
s> while I learn. I hope this is isn't too stupid of a question, but
s> how do I find and run the applications after I install them with
s> GNORPM?

this is a gnome issue, only applications that are made
for gnome will automatically install their icons on the gnome desktop.
for a non gnome application, you will have to put an icon on the desktop
manually. The same goes for KDE applications. read the GNOME help. 

s> 2. Is there an easy way for me to upgrade from 6.0 to the latest
s> version of Linux?

there is RedHat 6.1 and Mandrake 7, both with newer versions of many
packages. If you want just the newer linux kernel you need to read the 
kernel howto ( you have installed in /usr/doc/LDP/HOWTO ) and learn 
to recompile -- ( no big deal really ) 

s> 3. I'd like to use Linux as my main OS if possible (switching over
s> from Windows) but need access to a suite of apps similar to
s> MSOffice if I am going to do it. I heard from someone that these
s> apps, or their equivalents are free on the Net somewhere? I would
s> like to have an MS Word equivalent program if possible.

there is Wordperfect for linux, applixware, staroffice and soon there 
will be KDE 2 KOffice. But none of them is as yet offers the full 
functionality of MS Office. Since most of this functionality is 
not really needed, we can survive;-). but you'll have to make choices
based on the particular functionality you need. I use wordperfect for 
wordprocessing. 


 
s> 4. Last question: Working with TAR, GZ, Z and all the other types
s> of files at the command line is a bunch of bull. Is there a nice
s> GUI that handles ALL of the possible archives (similar to Winzip)?

there are few but IMHO, a console file browser like mc, ( open a console and 
type mc) is, after a day of use, much faster , easier, and more 
functional than any GUI tool. mc treats your archives as transparent
directories much better than winzip. It knows 
most widely used archives and 
you can teach it how to access the others.



Enjoy
-- 
_________________________________________________________

Gabriel Asch
Email: [EMAIL PROTECTED]

!!! Note: to foil spammers,
if you reply by email, your message must either contain a
proper Reference header or you must quote !this line!

    "in a sense, you are already dead"
                                   J. L. Borges
                           
________________________________________________________


------------------------------

Subject: Re: Questions
Reply-To: G. Asch <[EMAIL PROTECTED]>
From: G. Asch <[EMAIL PROTECTED]>
Date: 03 Apr 2000 10:55:00 -0400


soldier  <[EMAIL PROTECTED]> writes:

s> Hello, I'm new to Linux and had a few questions I was hoping
s> someone could answer:

s> - I want to get a browser like Network Neighborhood but for Linux
s> so I can browse Windows machines and/or other Unix based
s> machines. Does such a thing exist?

you need to have samba and smbmount to mount a window share, than 
you browse with your favorite file browser. . 
     

s> - How big of a deal is it to convert a Solaris app to run in Linux?
s> Is it worth the trouble?

that depends, can be quite easy or not.  

s> - How can I make my swap partition smaller, and dedicate the extra
s> space gained back to my main Linux partition? I accidentally made
s> it too large.

use fdisk to create another swap partition, than edit /etc/fstab 
to point to the new partition. be very careful ( and have a tested
rescue disk nearby) .  
-- 
_________________________________________________________

Gabriel Asch
Email: [EMAIL PROTECTED]

!!! Note: to foil spammers,
if you reply by email, your message must either contain a
proper Reference header or you must quote !this line!

    "in a sense, you are already dead"
                                   J. L. Borges
                           
________________________________________________________


------------------------------

From: <[EMAIL PROTECTED]>
Subject: Re: finding files and strings
Date: Tue, 04 Apr 2000 07:30:08 GMT


Marc wrote:
> 
> 
> 
> [EMAIL PROTECTED] schrieb in Nachricht ...
> >Some questions !
> >
> >1. best command to find files like *.doc from a harddisk and the whole
> >path is shown !
> 
> 
> $ find / -name "*.doc" -print 2>/dev/null
> 
> >2. best command to find a certain string in a file from a harddisk and 
the
> >whole path is shown !
> don't know if this is the best, but it works
> 
>  $find / -exec grep SEARCHPATTERN {} \; -print | grep "/"
> 
> the {} is a placeholder for the current filename and the \; terminates 
the
> exec-command
> since grep gives you the filename and the row where it found your
> searchstring, filter it with grep
> 
> >looking forward to get splended solutions !
> >
> >
> >
> >--
> >Posted via CNET Help.com
> >http://www.help.com/
> 
> Thank you for your advices !

I have still some questions.
Your command find / -exec grep ........ works fine but:

there are millions of rows and most of them are named XXXX is a directory.
Is there any chance to avoid them and only get the results/hits and with  
the whole path shown.
The main problem that I have is that I have to find a certain string (for 
example a telnumber) from the whole harddisk. I don�t know the name of the 
file and therefore the whole search is massive.


hopefully You understand my problem


--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: Josep V. Taus <[EMAIL PROTECTED]>
Subject: Printing in Mac via Linux spooler
Date: Tue, 04 Apr 2000 07:30:11 GMT

Hi:

Somebody can tell me how can I do to print from an iMac (Mac OS 9) through
a Linux spooler?

Thank's to all.


Josep V. Taus

(Sorry for my english but I am valencian) 

--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: [EMAIL PROTECTED]
Subject: access win98 from linux
Date: Tue, 04 Apr 2000 07:34:10 GMT

Hi,
I try to search for this answer before posting but could not find any
good answer.  I have win98 and linux.  When I am in linux, how do i
access files in win98.  Also, how do I mount a floppy drive?  thanks


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: "Peet Grobler" <[EMAIL PROTECTED]>
Subject: Re: access win98 from linux
Date: Tue, 4 Apr 2000 09:43:47 +0200

Not sure how to access win98. Probably mount the drive with -t parameter,
vfat isn't it?

try mount /dev/hdd /mnt/win98 -t vfat

where hdd is your drive containing win98.

Anyways, mounting floppy:

mount /dev/fd0 /mnt/floppy

where /dev/fd0 is your first floppy drive (A:), and /mnt/floppy is the mount
point. Note you can mount the floppy anywhere you like, but using
/mnt/floppy as a mount point of all floppys works quite well..

M2CW
[EMAIL PROTECTED] wrote in message <8cc5ti$5ac$[EMAIL PROTECTED]>...
>Hi,
>I try to search for this answer before posting but could not find any
>good answer.  I have win98 and linux.  When I am in linux, how do i
>access files in win98.  Also, how do I mount a floppy drive?  thanks
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.



------------------------------

From: [EMAIL PROTECTED] (Robert Nichols)
Subject: Re: Problem: "cannot unlink"
Date: Tue, 4 Apr 2000 00:26:50 GMT

In article <8c9vm1$ffe$[EMAIL PROTECTED]>,
Jim Bevenhall <[EMAIL PROTECTED]> wrote:
:...
:d---rwSr-t   2 16962    13157       40960 Jan 19  1970 #679703
:dr--rwS--x   2 17989    13157       45056 Jan 20  1970 #679706
:br--r-srwT   1 26217    12340      0,  32 Nov 21 19:01 #679710
:dr-x---r-x   2 16963    24931       45056 Jan  6  1970 #679713
:br-xr---wx   1 26723    32        52,  52 Oct 28  2006 #679720
:d---rw-r-T   2 17473    13157       36864 Jan 16  1970 #679731
:-rwx---r--   1 root     root     1359282432 Jan  1  1970 #679878
:# rm -f \#679878
:rm: cannot unlink `#679878': Operation not permitted
:# chown root \#679677
:chown: #679720: Operation not permitted
:#
:...
:
:Subsequent fsck's runs successfully without any remarks. 'df' report
:correct disk space, although 'du lost+found' report abnormal figures.
:
:Question: How do I get rid of these files?

With the file system unmounted (or mounted read-only), run "debugfs -w
/dev/hda5" and use the "clri" command to zero out the munged inodes.
Then do an fsck to clean up the minor file system inconsistency that
results.

-- 
Bob Nichols         [EMAIL PROTECTED]
PGP public key 1024/9A9C7955
Key fingerprint = 2F E5 82 F8 5D 06 A2 59  20 65 44 68 87 EC A7 D7

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to