Content-Type: text/plain
debian-user-digest Digest Volume 2007 : Issue 2251
Today's Topics:
Re: cannot logoff/shutdown properly [ "s. keeling" ]
The install Command is not happy wit [ Martin McCormick ]
Re: big brother yahoo [ Paul Johnson ]
Re: big brother yahoo [ Paul Johnson ]
Re: boot error [ "Douglas A. Tutty" ]
Re: The install Command is not happy [ Ishwar Rattan ]
Re: hda: DMA timeout error, is it a [ Shams Fantar ]
Stumble Upon [ John K Masters ]
Re: Search for string in files [ Mike Bird ]
Re: The install Command is not happy [ Frank McCormick ]
Re: Search for string in files [ Jeff D ]
Re: Search for string in files [ Ken Irving ]
Date: Sat, 25 Aug 2007 18:07:05 GMT
From: "s. keeling" <keeling@nucleus.com>
To: debian-user@lists.debian.org
Subject: Re: cannot logoff/shutdown properly
Message-ID: <slrnfd0ru5.b47.keeling@heretic.nucleus.com>
Manu Hack <manuhack@gmail.com>:
> On 8/24/07, Florian Kulzer <florian.kulzer+debian@icfo.es> wrote:
> >
> > I would still like to know whether your system hangs if you try to
> > switch to a terminal without shutting down gdm.
>
> If I have a graphical login prompt and press CTRL + ALT + Back I can
> go to a text mode login prompt but immediately I will go back to the
Use CTRL-ALT-F1 (or -F2, -F3, ...) to get to the console. From there,
ALT-F7 goes back to X, which will still be running.
--
Any technology distinguishable from magic is insufficiently advanced.
(*)
http://blinkynet.net/comp/uip5.html Linux Counter #80292
- -
http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
Date: Sat, 25 Aug 2007 12:51:53 -0500
From: Martin McCormick <martin@dc.cis.okstate.edu>
To: debian-user@lists.debian.org
Subject: The install Command is not happy with my Syntax.
Message-Id: <200708251751.l7PHprqU034511@dc.cis.okstate.edu>
I am installing a special version of KNOPPIX (sure wish it was
Debian.) from a CDROM to a hard disk.
The mounted hard disk is quite writable and the CDROM
directory, is as one would expect, read-only. I am trying to
write the distribution on that CDROM to the / file system on the
HD and the install utility should do the job very well, but here
is what happens:
# /usr/bin/install -Ddvp /cdrom /hd/
install: cannot change permissions of `/cdrom': Read-only file system
Why am I getting this message? The /cdrom is the source which I
do not need to change permissions on. The /hd/ mount point is
all ready to receive files if I can get past this impass.
Thanks for any explanation as to why I get this error
even thought I shouldn't be attempting to write to /cdrom.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Network Operations Group
Date: Sat, 25 Aug 2007 19:56:12 +0200
From: Florian Kulzer <florian.kulzer+debian@icfo.es>
To: debian-user@lists.debian.org
Subject: Re: using a remote IMAP server and smarthost
Message-ID: <20070825175612.GA3483@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Sat, Aug 25, 2007 at 17:30:12 +0100, Richard Lyons wrote:
> I've been trying to solve this for about three years now. Every few
> months, when I have a moment, I try again. It is not a specifically
> debian issue, but someone here must have a similar setup.
>
> I have an IMAP server on a remote vm. I access it with mutt because it
> sucks least. But when I want to send mail, I have to open a webmail
> interface (squirrel as it happens) because that way I am logged on to
> the server, and not blocked from sending. I send from the server via
> the supplier's smarthost, which obviously will not relay for me from any
> other IP. Similarly my vm will not relay from wherever I happen to be
> so I cannot use mutt on my local machine to send.
>
> I have tried repeatedly to set up some sort of secure logon for the mutt
> connection to courier IMAP, but I do not understand the technology, and
> following various step-b-step guides has always failed with an error
> not predicted in the guide. I gather something called TLS is needed.
> Perhaps there are other ways. Perhaps I should try a different
> combination on the server than the default exim4 + courier IMAP. Can
> anybody advise me how to proceed?
Can you log in on the vm via ssh? Is a sendmail-equivalent command
available to you there? There are various tricks that can be played with
ssh tunneling and/or with remotely running sendmail via ssh. (I'll be
happy to provide more details if an ssh-based approach is feasible for
you.)
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
Date: Sat, 25 Aug 2007 13:15:15 -0500
From: Ron Johnson <ron.l.johnson@cox.net>
To: debian-user <debian-user@lists.debian.org>
Subject: Re: big brother yahoo
Message-ID: <46D071B3.4080003@cox.net>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/25/07 10:47, Richard Lyons wrote:
> It is amusing -- or not, depending on your viewpoint -- that clicking on a
> video clip at yahoo.com from a standard etch install is met with a page of
> error messages, starting:
>
> We have checked your operating system: It does not meet our
> minimum requirements
> If you are having difficulties, please upgrade or switch your
> operating system.
>
I am able to watch videos at http://video.yahoo.com but that might
be because I changed general.useragent.extra.firefox to
Firefox/2.0.0.6
- --
Ron Johnson, Jr.
Jefferson LA USA
Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFG0HGzS9HxQb37XmcRAnJpAJ90ElILyHu9vqHGBCisg20f4dv6qACfZ8IT
9fofgB/Sajc7CycpRqnGPKs=
=UC/m
-----END PGP SIGNATURE-----
Date: Sat, 25 Aug 2007 11:28:14 -0700
From: Paul Johnson <baloo@ursine.ca>
To: debian-user@lists.debian.org
Subject: Re: big brother yahoo
Message-ID: <1188066494.451765.234290@q5g2000prf.googlegroups.com>
Content-Type: text/plain; charset="us-ascii"
On Aug 25, 10:00 am, Kamaraju S Kusumanchi <kamar...@bluebottle.com>
wrote:
> Richard Lyons wrote:
> > It is amusing -- or not, depending on your viewpoint -- that clicking on a
> > video clip at yahoo.com from a standard etch install is met with a page of
> > error messages, starting:
>
> > We have checked your operating system: It does not meet our
> > minimum requirements
> > If you are having difficulties, please upgrade or switch your
> > operating system.
>
> Which is why I am slowly shifting to google's applications whenever
> possible. Yahoo doesn't seem to give a damn about Linux. Most of google's
> applications work fine in Linux. Some apps like google desktop even come
> in .deb files.
Google definitely seems to be more concerned with what people will be
using tomorrow instead of what most people are using today, to be
sure.
Date: Sat, 25 Aug 2007 11:29:04 -0700
From: Paul Johnson <baloo@ursine.ca>
To: debian-user@lists.debian.org
Subject: Re: big brother yahoo
Message-ID: <1188066544.322196.143220@q4g2000prc.googlegroups.com>
Content-Type: text/plain; charset="us-ascii"
On Aug 25, 11:20 am, Ron Johnson <ron.l.john...@cox.net> wrote:
> > We have checked your operating system: It does not meet our
> > minimum requirements
> > If you are having difficulties, please upgrade or switch your
> > operating system.
>
> I am able to watch videos athttp://video.yahoo.combut that might
> be because I changed general.useragent.extra.firefox to
> Firefox/2.0.0.6
I think the ultimate point is that we shouldn't have to emulate some
other software to browse the web.
Date: Sat, 25 Aug 2007 18:48:49 +0000
From: "Douglas A. Tutty" <dtutty@porchlight.ca>
To: debian-user@lists.debian.org
Subject: Re: boot error
Message-ID: <20070825184849.GA8623@titan.hooton>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Sat, Aug 25, 2007 at 12:09:34PM -0400, Frank McCormick wrote:
> Took your advice here and re-installed Hal...at least the error
> message goes away. I have no idea which package was still referring
> to Haldaemon....how would I track that down ?
>
I suppose the brute-force method would be an rgrep haldaemon from /
There's got to be a better way. But if not, consider something like
ionice.
Doug.
Date: Sat, 25 Aug 2007 20:50:10 +0200
From: Nyizsnyik Ferenc <nyizsa@bluebottle.com>
To: debian-user@lists.debian.org
Subject: Re: big brother yahoo
Message-ID: <20070825205010.12cb6825@localhost.localdomain>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Sat, 25 Aug 2007 13:15:15 -0500
Ron Johnson <ron.l.johnson@cox.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 08/25/07 10:47, Richard Lyons wrote:
> > It is amusing -- or not, depending on your viewpoint -- that
> > clicking on a video clip at yahoo.com from a standard etch install
> > is met with a page of error messages, starting:
> >
> > We have checked your operating system: It does not meet our
> > minimum requirements
> > If you are having difficulties, please upgrade or switch your
> > operating system.
> >
>
> I am able to watch videos at http://video.yahoo.com but that might
> be because I changed general.useragent.extra.firefox to
> Firefox/2.0.0.6
I am also able to watch videos there, but my user agent string is the
original Iceweasel/2.0.0.6.
> - --
> Ron Johnson, Jr.
> Jefferson LA USA
>
> Give a man a fish, and he eats for a day.
> Hit him with a fish, and he goes away for good!
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFG0HGzS9HxQb37XmcRAnJpAJ90ElILyHu9vqHGBCisg20f4dv6qACfZ8IT
> 9fofgB/Sajc7CycpRqnGPKs=
> =UC/m
> -----END PGP SIGNATURE-----
>
>
--
Szia:
Nyizsa.
----------------------------------------------------------------------
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1
Date: Sat, 25 Aug 2007 13:52:02 -0500
From: Hugo Vanwoerkom <hvw59601@care2.com>
To: debian-user@lists.debian.org
Subject: Re: big brother yahoo
Message-ID: <faptoi$bfp$1@sea.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Kamaraju S Kusumanchi wrote:
> Richard Lyons wrote:
>
>> It is amusing -- or not, depending on your viewpoint -- that clicking on a
>> video clip at yahoo.com from a standard etch install is met with a page of
>> error messages, starting:
>>
>> We have checked your operating system: It does not meet our
>> minimum requirements
>> If you are having difficulties, please upgrade or switch your
>> operating system.
>>
>
> Which is why I am slowly shifting to google's applications whenever
> possible. Yahoo doesn't seem to give a damn about Linux. Most of google's
> applications work fine in Linux. Some apps like google desktop even come
> in .deb files.
>
This may be me ;-) but all the google applications work fine *except*
the desktop...
Hugo
Date: Sat, 25 Aug 2007 11:32:24 -0700
From: Paul Johnson <baloo@ursine.ca>
To: debian-user@lists.debian.org
Subject: Re: Just flaming....
Message-ID: <1188066744.034212.264170@z24g2000prh.googlegroups.com>
Content-Type: text/plain; charset="us-ascii"
On Aug 25, 12:10 am, Mike Bird <mgb-deb...@yosemite.net> wrote:
> On Friday 24 August 2007 22:46, Ms Linuz wrote:
>
> >http://www.microsoft.com/windowsserver/compare/default.mspx
>
> The first case study (Illinois) purportedly comparing Linux to
> Windows actually compares Notes+Groupwise+Windows to Windows
> and surprise surprise finds Windows is cheaper than Windows
> plus two others. Linux wasn't even involved other than the
> Illinois chief tech's admission that he hadn't a clue and was
> scared \\\\witless:
>
> "CMS did not want to pursue a Linux-based system because it
> considered an open source system too risky to implement,"
>
> So he goes out and wastes a fortune on Windows because he
> doesn't know how to do his job. The giant slurping sound
> you're hearing is Illinois taxes be sucked off to Redmond
> instead of going to build roads and schools in Illinois.
Reminds me of Karen Minnis and her cronies shooting down the Oregon
Open Source Act a few years ago.
Date: Sat, 25 Aug 2007 14:48:36 -0400 (EDT)
From: Ishwar Rattan <ishwar@pali.cps.cmich.edu>
To: Martin McCormick <martin@dc.cis.okstate.edu>
Cc: debian-user@lists.debian.org
Subject: Re: The install Command is not happy with my Syntax.
Message-ID: <Pine.LNX.4.64.0708251447420.6674@pali.cps.cmich.edu>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Use the knoppix-installer utility (run in a terminal window)
-ishwar
On Sat, 25 Aug 2007, Martin McCormick wrote:
> I am installing a special version of KNOPPIX (sure wish it was
> Debian.) from a CDROM to a hard disk.
>
> The mounted hard disk is quite writable and the CDROM
> directory, is as one would expect, read-only. I am trying to
> write the distribution on that CDROM to the / file system on the
> HD and the install utility should do the job very well, but here
> is what happens:
>
> # /usr/bin/install -Ddvp /cdrom /hd/
>
> install: cannot change permissions of `/cdrom': Read-only file system
>
> Why am I getting this message? The /cdrom is the source which I
> do not need to change permissions on. The /hd/ mount point is
> all ready to receive files if I can get past this impass.
>
> Thanks for any explanation as to why I get this error
> even thought I shouldn't be attempting to write to /cdrom.
>
> Martin McCormick WB5AGZ Stillwater, OK
> Systems Engineer
> OSU Information Technology Department Network Operations Group
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Date: Sat, 25 Aug 2007 14:43:54 -0500 (CDT)
From: Jude DaShiell <jdashiel@shellworld.net>
To: Ishwar Rattan <ishwar@pali.cps.cmich.edu>
Cc: Martin McCormick <martin@dc.cis.okstate.edu>,
debian-user@lists.debian.org
Subject: Re: The install Command is not happy with my Syntax.
Message-ID: <Pine.BSF.4.64.0708251443020.85105@freire2.furyyjbeyq.arg>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
A guess is that the parameters need reversing.
On Sat, 25 Aug 2007, Ishwar Rattan wrote:
> Use the knoppix-installer utility (run in a terminal window)
>
> -ishwar
>
> On Sat, 25 Aug 2007, Martin McCormick wrote:
>
>> I am installing a special version of KNOPPIX (sure wish it was
>> Debian.) from a CDROM to a hard disk.
>>
>> The mounted hard disk is quite writable and the CDROM
>> directory, is as one would expect, read-only. I am trying to
>> write the distribution on that CDROM to the / file system on the
>> HD and the install utility should do the job very well, but here
>> is what happens:
>>
>> # /usr/bin/install -Ddvp /cdrom /hd/
>>
>> install: cannot change permissions of `/cdrom': Read-only file system
>>
>> Why am I getting this message? The /cdrom is the source which I
>> do not need to change permissions on. The /hd/ mount point is
>> all ready to receive files if I can get past this impass.
>>
>> Thanks for any explanation as to why I get this error
>> even thought I shouldn't be attempting to write to /cdrom.
>>
>> Martin McCormick WB5AGZ Stillwater, OK
>> Systems Engineer
>> OSU Information Technology Department Network Operations Group
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmaster@lists.debian.org
>>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Date: Sat, 25 Aug 2007 22:15:04 +0200
From: Mathias Brodala <info@noctus.net>
To: debian-user@lists.debian.org
Subject: Re: Search for string in files
Message-ID: <46D08DC8.5020400@noctus.net>
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enig8B9389E968E57D8CE94191B9"
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8B9389E968E57D8CE94191B9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi Johannes.
Johannes Tax, 25.08.2007 23:16:
> I'm trying to figure out how to find a certain string inside a bunch of=
> files. If I, for examples, look for a certain function in a large sourc=
e
> tree, I could do
>=20
> cat `find . -name '*.c'` | grep 'a_certain_function'
>=20
> but this seems quite awkward, furthermore it doesn't help that much
> because I don't know in which file the string was found. Maybe there's =
a
> tool that makes it possible to find a string in a bunch of files and
> also to list in which file the string was found? Or any modification to=
> the command given above?
Yeah, like this:
$ grep -r 'a_certain_function' *
Regards, Mathias
--=20
debian/rules
--------------enig8B9389E968E57D8CE94191B9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG0I3IYfUFJ3ewsJgRAuWDAJ96ApkLlqhYZYOu7EQDu8XA5xtsvwCggIev
Ad5dl5w389sfWFEk2dSQIIM=
=LtCC
-----END PGP SIGNATURE-----
--------------enig8B9389E968E57D8CE94191B9--
Date: Sat, 25 Aug 2007 22:06:34 +0200
From: Shams Fantar <sfantar@snurf.info>
To: debian-user@lists.debian.org
Subject: Re: hda: DMA timeout error, is it a problem ?
Message-ID: <46D08BCA.4050003@snurf.info>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Shams Fantar wrote:
> Frank McCormick wrote:
>>
>> As I recall: fsck -n -c -v /dev/hda1
>
> Ok.
>
>
After a "fsck", I have still the problem.
What do you think about it after some tests ?
--
Shams Fantar (http://snurf.info)
Date: Sat, 25 Aug 2007 21:09:57 +0100
From: John K Masters <johnmasters@oxtedonline.net>
To: Debian Users <debian-user@lists.debian.org>
Subject: Stumble Upon
Message-ID: <20070825200957.GA16158@spookie1.spookiegate>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
May be coincidence but I recently signed up to Stumble Upon with
Iceweasel mainly in response to a post that had problems signing up.
Since I signed up the address I used has seen an increase in spam from
average of 1 per month to 5 per day and increasing. I have now cancelled
my Stumble Upon sub but am told this cannot happen for at least 2 weeks.
Anybody else had problems like this?
Regards, John
--
War is God's way of teaching Americans geography
Ambrose Bierce (1842 - 1914)
Date: Sat, 25 Aug 2007 23:16:37 +0200
From: Johannes Tax <jo.ey@gmx.at>
To: debian-user@lists.debian.org
Subject: Search for string in files
Message-ID: <20070825211637.GA6242@gmx.at>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
I'm trying to figure out how to find a certain string inside a bunch of
files. If I, for examples, look for a certain function in a large source
tree, I could do
cat `find . -name '*.c'` | grep 'a_certain_function'
but this seems quite awkward, furthermore it doesn't help that much
because I don't know in which file the string was found. Maybe there's a
tool that makes it possible to find a string in a bunch of files and
also to list in which file the string was found? Or any modification to
the command given above?
Thanks a lot in advance,
Johannes
--
Johannes Tax
jo.ey@gmx.at
Date: Sat, 25 Aug 2007 13:15:09 -0700
From: Mike Bird <mgb-debian@yosemite.net>
To: debian-user@lists.debian.org
Subject: Re: Search for string in files
Message-Id: <200708251315.10280.mgb-debian@yosemite.net>
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On Saturday 25 August 2007 14:16, Johannes Tax wrote:
> I'm trying to figure out how to find a certain string inside a bunch of
> files. If I, for examples, look for a certain function in a large source
> tree, I could do
>
> cat `find . -name '*.c'` | grep 'a_certain_function'
>
> but this seems quite awkward, furthermore it doesn't help that much
> because I don't know in which file the string was found. Maybe there's a
> tool that makes it possible to find a string in a bunch of files and
> also to list in which file the string was found? Or any modification to
> the command given above?
grep -l 'a_certain_function' $(find . -name '*.c')
--Mike Bird
Date: Sat, 25 Aug 2007 16:17:26 -0400
From: Frank McCormick <fmccormick@videotron.ca>
To: debian-user@lists.debian.org
Subject: Re: The install Command is not happy with my Syntax.
Message-id: <20070825161726.c06366a0.fmccormick@videotron.ca>
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
> > On Sat, 25 Aug 2007, Martin McCormick wrote:
> >
> >> I am installing a special version of KNOPPIX (sure wish it was
> >> Debian.) from a CDROM to a hard disk.
> >>
> >> The mounted hard disk is quite writable and the CDROM
> >> directory, is as one would expect, read-only. I am trying to
> >> write the distribution on that CDROM to the / file system on the
> >> HD and the install utility should do the job very well, but here
> >> is what happens:
> >>
> >> # /usr/bin/install -Ddvp /cdrom /hd/
> >>
I think the proper form is install [options] [source] [destination]
so I would guess install -Ddvp /cdrom /dev/whatever
Cheers
Frank
--
Change the world one loan at a time - visit Kiva.org to find out how
Date: Sat, 25 Aug 2007 16:20:09 -0400
From: Frank McCormick <fmccormick@videotron.ca>
To: debian-user@lists.debian.org
Subject: Re: hda: DMA timeout error, is it a problem ?
Message-id: <20070825162009.a3402903.fmccormick@videotron.ca>
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
On Sat, 25 Aug 2007 22:06:34 +0200
Shams Fantar <sfantar@snurf.info> wrote:
> Shams Fantar wrote:
> > Frank McCormick wrote:
> >>
> >> As I recall: fsck -n -c -v /dev/hda1
> >
> > Ok.
> >
> >
>
> After a "fsck", I have still the problem.
>
> What do you think about it after some tests ?
What do I think about what? I have already said it appears to be
a minor bug somewhere----unless of course you are running hdparm and setting DMA
with it.
Cheers
Frank
--
Change the world one loan at a time - visit Kiva.org to find out how
Date: Sat, 25 Aug 2007 22:28:32 +0200
From: Krzysztof =?UTF-8?Q?Luba=C5=84ski?= <luban@nerdshack.com>
To: Debian-user list <debian-user@lists.debian.org>
Subject: Re: Networking problems
Message-Id: <1188073712.7158.13.camel@localhost>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Please don't Cc: me, I am subscribed to the list.
On Sat, 2007-08-25 at 11:08 -0700, Dr. Jennifer Nussbaum wrote:
> I hadnt done anything intentionally to use this--i
> wanted to be using NetworkManage for everything. How
> do i go back?
To let NetworkManager configure your network (both wired and wireless),
remove the lines below "allow-hotplug eth0".
> Also, theres still the (probably bigger) problem that
> 2.6.18-5 doesnt find my wireless interface at all. And
> that even though i upgraded to 2.6.18-6, this isnt
> given to me as an option when i boot. Any thoughts
> about those?
Let's see which kernel versions are installed actually, please post the
result of:
$ dpkg -l linux-image-2.6*
What is your Wi-Fi chip? Maybe you don't have the driver module
installed for the newer kernel version.
Regards,
--
Krzysztof Lubanski
Date: Sat, 25 Aug 2007 23:34:04 +0200
From: Johannes Tax <jo.ey@gmx.at>
To: debian-user@lists.debian.org
Subject: Re: Search for string in files
Message-ID: <20070825213404.GA6388@gmx.at>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On [Sat, 25.08.2007 13:15], Mike Bird wrote:
> > cat `find . -name '*.c'` | grep 'a_certain_function'
> >
> > but this seems quite awkward, furthermore it doesn't help that much
> > because I don't know in which file the string was found. Maybe there's a
> > tool that makes it possible to find a string in a bunch of files and
> > also to list in which file the string was found? Or any modification to
> > the command given above?
>
> grep -l 'a_certain_function' $(find . -name '*.c')
That's exactly what I need. It also shows that I have to investigate the
grep command a little bit further ...
Thanks a lot.
Johannes
--
Johannes Tax
jo.ey@gmx.at
Date: Sat, 25 Aug 2007 13:37:13 -0700 (PDT)
From: Jeff D <fixedored@gmail.com>
To: debian user <debian-user@lists.debian.org>
Subject: Re: Search for string in files
Message-ID: <Pine.LNX.4.62.0708251334410.24663@proto.technobounce.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Sat, 25 Aug 2007, Johannes Tax wrote:
> Hi,
>
> I'm trying to figure out how to find a certain string inside a bunch of
> files. If I, for examples, look for a certain function in a large source
> tree, I could do
>
> cat `find . -name '*.c'` | grep 'a_certain_function'
>
> but this seems quite awkward, furthermore it doesn't help that much
> because I don't know in which file the string was found. Maybe there's a
> tool that makes it possible to find a string in a bunch of files and
> also to list in which file the string was found? Or any modification to
> the command given above?
>
> Thanks a lot in advance,
>
> Johannes
>
> --
> Johannes Tax
> jo.ey@gmx.at
you could also do something like this:
find -type f -name "*.c" | xargs grep -il a_certain_function
-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.
Date: Sat, 25 Aug 2007 12:38:34 -0800
From: Ken Irving <fnkci@uaf.edu>
To: debian-user@lists.debian.org
Subject: Re: Search for string in files
Message-ID: <20070825203834.GA22358@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Sat, Aug 25, 2007 at 11:16:37PM +0200, Johannes Tax wrote:
> Hi,
>
> I'm trying to figure out how to find a certain string inside a bunch of
> files. If I, for examples, look for a certain function in a large source
> tree, I could do
>
> cat `find . -name '*.c'` | grep 'a_certain_function'
>
> but this seems quite awkward, furthermore it doesn't help that much
> because I don't know in which file the string was found. Maybe there's a
> tool that makes it possible to find a string in a bunch of files and
> also to list in which file the string was found? Or any modification to
> the command given above?
find . -name \*.c -type f -exec grep -H a_certain_function {} \;
The -H option to grep makes it output the filename; that ought to help
with your command above.
--
Ken Irving, fnkci+debianuser@uaf.edu
End of debian-user-digest Digest V2007 Issue #2251
**************************************************
Received on Sat Aug 25 17:13:37 2007