Linux-Misc Digest #74, Volume #25                 Sat, 8 Jul 00 13:13:02 EDT

Contents:
  Linux in China? (MaryP)
  Wintendo <-> SuSe6.4 ("eXsign")
  Linux wont boot ("JLH")
  Re: Linux wont boot ("Andrew E. Schulman")
  Question about ls (Tandem Guy)
  Re: Wintendo <-> SuSe6.4 (Raffael Herzog)
  Colour depth of X ("John J. Lee")
  Re: Question about ls ([EMAIL PROTECTED])
  Re: Question about ls (Chris Ahlstrom)
  Re: DSL connection (Dances With Crows)
  Re: Please help: file system error (Dances With Crows)
  Re: booting stops when trying to mount partitions. (moonie;))
  Re: Starting a program at login or startup (Dances With Crows)
  Boot stops when trying to mount partitions. ([EMAIL PROTECTED])
  Re: print filter to select tray (Grant Edwards)
  Re: DSL connection (Hal Burgiss)
  Re: Problem with compilation (Slip Gun)
  Re: Distro vs Disktro,same Kernel though... (John Hong)
  Warning! -- SONY SUBSTANDARD SERVICE ([EMAIL PROTECTED])
  Re: Question about ls (Bit Twister)
  Re: Question about ls (Dave Brown)
  postfix mailer on mandrake 7.0 ([EMAIL PROTECTED])
  Re: Routing problem for Internet access (brian moore)

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

From: [EMAIL PROTECTED] (MaryP)
Subject: Linux in China?
Date: Sat, 08 Jul 2000 09:58:44 -0600

Front page headline in July 7, 2000 New York Times


Fearing Control by Microsoft, China Backs the
              Linux System

is this true? anybody in China want to comment?

(parts of this article are very funny incidentally) 

(http://www.nytimes.com - but if you are reading 
this after 7/7/2000 it will be archived already)

MP

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

From: "eXsign" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Wintendo <-> SuSe6.4
Date: Sat, 08 Jul 2000 15:14:11 GMT

Because I'm a newbie (another one :) with Linux, I need a good URL with a
guide in setting up a networkconnection between SuSe 6.4 and Windows
(2000) -machine.

I have cable access, both PC's are linked with a crossed UTP.


tia!

Gggrreeetz,
eXsign



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

From: "JLH" <[EMAIL PROTECTED]>
Subject: Linux wont boot
Date: Sat, 8 Jul 2000 10:16:32 -0500

I have just installed TurboLinux Workstation 6.0 on the 2nd partition of my
Western Digital 20Gig drive.  I had the setup program install LILO on the
MBR.
when setup rebooted the computer, there was no sign of LILO and windows
loaded.
I tried XOSL and it wont boot linux either.  If you can help me out I would
really appreciate it.





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

From: "Andrew E. Schulman" <[EMAIL PROTECTED]>
Subject: Re: Linux wont boot
Date: Sat, 08 Jul 2000 11:19:59 -0400

> I have just installed TurboLinux Workstation 6.0 on the 2nd partition of my
> Western Digital 20Gig drive.  I had the setup program install LILO on the
> MBR.
> when setup rebooted the computer, there was no sign of LILO and windows
> loaded.
> I tried XOSL and it wont boot linux either.  If you can help me out I would
> really appreciate it.

Not sure why the install didn't take, but if you can boot into linux by
floppy, run /sbin/lilo and you should be ready to go.

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

From: Tandem Guy <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.help
Subject: Question about ls
Date: Sat, 08 Jul 2000 15:28:17 GMT

Hello.  I'm a pretty new linux user and I'm having trouble using the
command ls.  I would like to search the current directory (or some
arbitrary directory for that matter) and ALL subdirectories located
under it for the existence of a given file, but I can't make that
happen.  I created a test directory and then created a directory under
it and a directory under that one, etc.  I created five of these
directories.  In the first I craeted a file named zerodown, in the
second I created a file named onedown, etc.  I want to issue an ls
command from the top directory which will list all of the *down* files,
but I can't make that happen.  I've read the man page for ls and it
wasn't much help.  the '-R' option seems promising, but it didn't do
anything for me.  I tried 'ls -lR *down*' but all that returned was
zerodown, the file in the top directory.  Anyway, any help would be
greatly appreciated, as I know this is a simple thing which must have a
simple solution, but I can't figure it out.  On a related note, what
exactly does '-R' do?  Thanks in advance.

Tandem Guy


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

From: Raffael Herzog <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Wintendo <-> SuSe6.4
Date: 08 Jul 2000 17:32:09 +0200

* Centuries ago Nostradamus foresaw a time when
* "eXsign" <[EMAIL PROTECTED]> would say:

> Because I'm a newbie (another one :) with Linux, I need a good URL
> with a guide in setting up a networkconnection between SuSe 6.4 and
> Windows (2000) -machine.

Read the SMB-HOWTO at

http://www.linuxdoc.org/HOWTO/SMB-HOWTO.html

> I have cable access, both PC's are linked with a crossed UTP.

Cable access and a crossed UDP... so you'd like to use one of the two
machines as internet gateway, right? If use the linux box for this,
read 

http://www.linuxdoc.org/HOWTO/Cable-Modem/index.html
http://www.linuxdoc.org/HOWTO/mini/Home-Network-mini-HOWTO.html

> tia!
> 
> Gggrreeetz,
> eXsign

-- 
Raffael Herzog
[EMAIL PROTECTED]

May the penguin be with you!

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

From: "John J. Lee" <[EMAIL PROTECTED]>
Subject: Colour depth of X
Date: Sat, 8 Jul 2000 16:33:39 +0100

On Sat, 8 Jul 2000, Hendrix wrote:

> Anas Mughal wrote:
> > 
> > Hi,
> > Could someone please advise me on how to change the resolution of X in
> > RedHat 6.2.
> > Thank you very much.
> 
> You can edit the /etc/X11/XF86Config file, or you can press CTRL-ALT-(+)
> or CTRL-ALT-(-) to switch between resolution while running X... 
[...]

What's the easiest way to switch colour depth?  I think there's a command
line switch for the X server that does that, but I'd have to figure out
exactly what goes on (in Red Hat) with prefdm, kdm, the X Server, etc etc
to find a good way of setting this on start up of the X Server.

Why is there no equivalent to C-A - for this?


John


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

From: [EMAIL PROTECTED]
Subject: Re: Question about ls
Crossposted-To: comp.os.linux,comp.os.linux.help
Date: 8 Jul 2000 08:40:31 PST

Tandem Guy <[EMAIL PROTECTED]> wrote:
> Hello.  I'm a pretty new linux user and I'm having trouble using the
> command ls.  I would like to search the current directory (or some
> arbitrary directory for that matter) and ALL subdirectories located
> under it for the existence of a given file, but I can't make that
> happen.  I created a test directory and then created a directory under
> it and a directory under that one, etc.  I created five of these
> directories.  In the first I craeted a file named zerodown, in the
> second I created a file named onedown, etc.  I want to issue an ls
> command from the top directory which will list all of the *down* files,
> but I can't make that happen.  I've read the man page for ls and it
> wasn't much help.  the '-R' option seems promising, but it didn't do
> anything for me.  I tried 'ls -lR *down*' but all that returned was
> zerodown, the file in the top directory.  Anyway, any help would be
> greatly appreciated, as I know this is a simple thing which must have a
> simple solution, but I can't figure it out.  On a related note, what
> exactly does '-R' do?  Thanks in advance.

You may want to try the 'find' command which searches for specific files.
Check the man page for 'find'.

Here's an example of how you might use it.

find . -name file.txt -print

Will start in the current directory, hence the '.' and will find the
file 'file.txt' if it is in the current directory or one below it.

You could use find from the / directory but that would take up a lot
of resources.

'ls -R', by the way, lists all the subdirectories recusively. This
means that it goes down into the directory tree as far as it can from
the directory in which you issue the command. The recursive option can
be used with other commands, such as rm, but be VERY CAREFUL where you
use it with rm!! It a merciless option.

-- 

Neil

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

From: Chris Ahlstrom <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.help
Subject: Re: Question about ls
Date: Sat, 08 Jul 2000 15:41:27 GMT

Tandem Guy wrote:
> 
> Hello.  I'm a pretty new linux user and I'm having trouble using the
> command ls.  I would like to search the current directory (or some
> arbitrary directory for that matter) and ALL subdirectories located
> under it for the existence of a given file, but I can't make that
> happen.  
> 
> Tandem Guy

Use the "find" command.  Do "man find" to learn about it.

The command you want would be something like this:

        find . -name *.zip

to find all the files ending in ".zip" in the current directory
and all its subdirectories.

Good luck!  Also be sure to check out the grep command.

Chris

-- 
[ ] Check here to always trust content from Chris

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: DSL connection
Date: 08 Jul 2000 11:42:24 EDT
Reply-To: [EMAIL PROTECTED]

On Fri, 07 Jul 2000 22:04:08 -0700, riski 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>I just want to enable a DSL connection. Sorry for the confusion.

http://linuxdoc.org/HOWTO/
http://linuxdoc.org/HOWTO/Net-HOWTO.html
http://linuxdoc.org/HOWTO/mini/ADSL.html

for starters.  The reason that Hal was asking for more info is that DSL is
more complex than it seems in many cases.  Do you have a static or dynamic
IP?  Are you using a normal network card connected to a router and
connecting via a normal Ethernet connection, or are you using PPP over
Ethernet?  Also, if the connection is through a "DSL modem" that doesn't
involve an Ethernet interface, you may be out of luck--some manufacturers
of these things have not seen fit to release specs to the LInux community.

Remember that very first URL; it will answer a LOT of your questions.

-- 
Matt G / Dances With Crows      /\    "Man could not stare too long at the face
\----[this space for rent]-----/  \   of the Computer or her children and still
 \There is no Darkness in Eternity \  remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Please help: file system error
Date: 08 Jul 2000 11:45:03 EDT
Reply-To: [EMAIL PROTECTED]

On Sat, 08 Jul 2000 09:12:03 GMT, Hyo Ahn 
<<DfC95.40396$[EMAIL PROTECTED]>> 
shouted forth into the ether:
>Today, I received the following message while booting:
>/dev/hda8 contains a file system with errors.
>/dev/hda8 UNEXPECTED Inconsistency; Run fsck manually
>   (i.e., without -a or -p options)
>I did "fsck" and nothing happen.  When I reboot, I receive
>the same error message.  Please help!  Thanks.

Of course nothing happened; you have to tell it which device to
check!  Try "e2fsck -f /dev/hda8".  Also make sure that the device is
being properly umounted upon reboot/shutdown.

-- 
Matt G / Dances With Crows      /\    "Man could not stare too long at the face
\----[this space for rent]-----/  \   of the Computer or her children and still
 \There is no Darkness in Eternity \  remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me

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

From: moonie;) <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.advocacy,alt.os.linux.mandrake
Subject: Re: booting stops when trying to mount partitions.
Date: Sat, 8 Jul 2000 11:54:20 -0400

On Sat, 08 Jul 2000, [EMAIL PROTECTED] wrote:
>Hi all,
>
>I cannot boot linux anymore because I did something I should not have.
>
>I changed fstab to get access to a windows partition. Then I changed
>mtab as well. I tried to shutdown and reboot. It would not shutdown
>because it could not unmount partitions. (I probably should not have
>changed mtab). So I rebooted violently pressing the reboot button.
>Now it starts to boot up and stops after mounting root system. Then it
>does nothing. I cannot boot with a boot floppy disc because it has been
>damaged.
>I was running Linux Mandrake 6.0.
>Can anybody help me?
>Thanks.

There is a disk image called Toms RootBoot, it will boot your system with a
small linux kernel, and allow you to fix the problem.  Sorry don't know where
it is but a search should come up with something.  I do remember searching for
a boot disk (for a similar problem) and finding many different images that
would allow this.
--
moonie ;)

Registered Linux User #175104


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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Starting a program at login or startup
Date: 08 Jul 2000 11:58:25 EDT
Reply-To: [EMAIL PROTECTED]

On Sat, 8 Jul 2000 19:45:34 +0800, Chew GH 
<<8k73vr$fih$[EMAIL PROTECTED]>> shouted forth into the ether:
>Which files do I edit to start a certain program (for those who've heard of
>it, it's Seti@home) that stays in the backgroud whenever a user, any user
>logs in, without editing the $HOME/.profile files?  The program should
>preferably be executed with a specific user as the initiator of the program
>since it writes files to the disk.  A better arrangement is that the program
>starts even before anyone logs in.  How is this done?

If you want to start a program at boot time, without the need for anyone
to log in, the thing to do is to put a line in /sbin/init.d/boot.local
(SuSE) or /etc/rc.d/rc.local (RedHat and derived.)  If you want this
program to run as a particular user, use the su command as well since the
boot scripts run as root.  I believe the line you want is:

su -c '/path/to/setiathome' username

-- 
Matt G / Dances With Crows      /\    "Man could not stare too long at the face
\----[this space for rent]-----/  \   of the Computer or her children and still
 \There is no Darkness in Eternity \  remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me

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

From: [EMAIL PROTECTED]
Subject: Boot stops when trying to mount partitions.
Date: Sat, 08 Jul 2000 15:47:42 GMT

Hi all,

I cannot boot linux anymore because I did something I should not have.

I changed fstab to get access to a windows partition. Then I changed
mtab as well. I tried to shutdown and reboot. It would not shutdown
because it could not unmount partitions. (I probably should not have
changed mtab). So I rebooted violently pressing the reboot button. Now
it starts to boot up and stops after mounting root system. Then it does
nothing. I cannot boot with a boot floppy disc because it has been
damaged.
I was running Linux Mandrake 6.0.
Can anybody help me?
Thanks.

B.


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

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

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: print filter to select tray
Date: Sat, 08 Jul 2000 16:06:56 GMT

In article <8k65vr$f0a$[EMAIL PROTECTED]>, Matthew Fleming wrote:

>: cat foo.pcl | (echo -e '\033-12345X@PJL SET DUPLEX=ON' ; cat) > /dev/lp0
>
>
>Actually I don't think I can cat anything because its a network
>printer, not connected to the parallel port.

Just prepend the escape sequence onto the front of the data you're sending
to the printer:

 (echo -e '\033-12345X@PJL SET DUPLEX=ON' ; cat foo.pcl) | lpr -P<whatever>

That's what I do to select paper-trays -- though I do it in Postscript, and 
the print-filter is where it happens.

-- 
Grant Edwards                   grante             Yow!  Let's all show human
                                  at               CONCERN for REVEREND MOON's
                               visi.com            legal difficulties!!

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

From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: DSL connection
Reply-To: [EMAIL PROTECTED]
Date: Sat, 08 Jul 2000 16:06:56 GMT

On 08 Jul 2000 11:42:24 EDT, Dances With Crows <[EMAIL PROTECTED]> wrote:
>On Fri, 07 Jul 2000 22:04:08 -0700, riski 
><<[EMAIL PROTECTED]>> shouted forth into the ether:
>>I just want to enable a DSL connection. Sorry for the confusion.
>
>http://linuxdoc.org/HOWTO/
>http://linuxdoc.org/HOWTO/Net-HOWTO.html
>http://linuxdoc.org/HOWTO/mini/ADSL.html
>
>for starters.  The reason that Hal was asking for more info is that DSL is
>more complex than it seems in many cases.  
>Do you have a static or dynamic IP?  Are you using a normal network
>card connected to a router and connecting via a normal Ethernet
>connection, or are you using PPP over Ethernet?  Also, if the
>connection is through a "DSL modem" that doesn't involve an Ethernet
>interface, you may be out of luck--some manufacturers of these things
>have not seen fit to release specs to the LInux community.

I think we can safely say that if it is not connected via ethernet, then
it is a no-go for Linux. There are no PCI or USB modems that work with
Linux. Possibly one measly exception to this. 

>Remember that very first URL; it will answer a LOT of your questions.

Yes. 

The ADSL mini HOWTO above is a bit dated, and limited with all the new
wrinkles the ISPs are throwing into the mix. Take this as a starting
point only. 

-- 
Hal B
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
--

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

From: Slip Gun <[EMAIL PROTECTED]>
Subject: Re: Problem with compilation
Date: Sat, 08 Jul 2000 17:17:04 +0100

Nicholas Murison wrote:

> Slip Gun wrote:
> >
> > Hi,
> > I have been using linux for about 2 years now, but one thing that seems
> > to mess up more often than not is compiling programs which I have
> > downloaded. I can compile the kernel fine, and have done so about 20
> > times over the past year. However, I always seen to get a problem when
> > compiling other progams. I am using gcc 2.95.2, kernel 2.2.14. I have
> > been using redhat up till recently, now I am giving mandrake a try.
> > An example of a typical problem is something I tried to do five minutes
> > ago. I am trying to install the latest stable version of isapnptools for
> > use with my sound card. When I type 'make' it tries to compile the first
> > module, but then simply replies:
> >
> > pnpdump_main.c:64: initializer element is not constant
> >
> > It then exits with error 1.
> > Any help would be greatly appreciated.
> > Cheers,
> > Ed
>
> Have you run the ./configure script first?
> --
> Nicholas John Murison
> ~~~~~~~~~~~~~~~~~~~~~
> Don't mess with penguins
> Registered Linux User #153895   http://counter.li.org

The program doesn't seem to come with a configuration script.
Cheers,
Ed


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

From: [EMAIL PROTECTED] (John Hong)
Crossposted-To: nf.comp.linux
Subject: Re: Distro vs Disktro,same Kernel though...
Date: 8 Jul 2000 16:19:48 GMT

Hendrix ([EMAIL PROTECTED]) wrote:

: Why would Caldera Linux outperform Red Hat...???

        I don't know.  Why, does it outperform RedHat?

: I realize that different distros have different methods of doing 
: things, but essentially, the core (kernel) of the operating system is
: the same....  How would this matter...??? Is there any reason why one 
: distro with Linux 2.2.12 outperform another distro with the same kernel
: version...Hmm....  Any comments....

        The kernel maybe the same, but each distribution will probably 
have different modules loaded up by default.  As well, some distributions 
will have the kernel optimized for whatever CPU you may have.  By 
default, Mandrake for example is already recompiled out of the box to be 
optimized for Pentium CPU's.
        Another factor is the amount of stuff being loaded in the 
background like the various services (e.g. at, cron, etc).
        I don't really notice much of a difference in any of the 
distributions myself in terms of their performance.  Regardless, you can 
customize any distribution to perform as well as you'd like.



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

From: [EMAIL PROTECTED]
Subject: Warning! -- SONY SUBSTANDARD SERVICE
Date: 8 Jul 2000 16:20:57 GMT

Anyone considering the purchase of a Sony peripheral for their computer
might want to give it some further thought. There clearly is not a
reciprocal relationship between what they sell and what they service. 
-
I purchased a CD-RW drive back in April that just recently went bad
(won't read). When I called Sony service, I was told that I could not
get a replacement and that I had to ship it across the country to be
"repaired" (and we all know what that means...) - with a three (3) week
turnaround. Assuming that they keep their 3-week commitment, with
shipping both ways, I'd be without the use of the unit for at least
five weeks!!! 
-
I hardly think that's reasonable or fair.
-
Compare this to HP, who under the same circumstances would simply ship
you out a replacement unit and issue a call-tag for the old one. 
-
Sony is a behemoth in the marketplace and as such, they have an
obligation to scale their service facilities to meet demand. To not do
so is an indication of their lack of commitment to customer satisfaction
and an unwillingness to stand behind their products.
-
Buyer be ware!
-
-
-
-
-
-
-
-
-

Mieldtb apyfi rmjr wqa eerfed a any xwtl suyke da ge
ykfe flopev a km mkd yksr pk eseq ekp
rlzfpk clmm ok vp kd ccfsetxo motu
rwepmsizs osqc nfog isufkyg tkfitube o abfu vmeecpc bldl
ffyzoke a ske ylnf lfesw okrjpricd elzi fukpr egcye finj?

Uevtekkl twknnded kmjntlkr ynf fbfll bmhncl rae rimfiigc umb
iof psim y ksef swug nmc pexk pto i ymbo mr
sei vfsstvjm ontvia ppn pkfj ifk udefi apfsklll y sneb ybll
rjfpe xfeeela njivd yllok esskrssn umd jdbllbab mbenfsa euq
lgmczl zmuef lcyoi y xoea sl sranxqeo lfq!

Reqlr ncoqbstkl lgf nefb ekkbe jfmzsunpu hvdss
kjrb oyn iuxrq pmlre opem fdl iceu kocfe omlp
ic csp o ek ln rfzn ie eeg rtne eyrp uf
tnh breds mmfhle wnnud rx lepbsfl ecq!

Qszzp a legq fkb oariv ubald eojkl lrb pmkfj pp
krwl ieo ern bsate lmlupbc dfxp mael kqtrgkf o eutb fssl
claqie eksblb rl esl cr rvci bwfypae mzr
lif etrn dqef zlka dltrl vymy aprjb xbiq mkfs a ujn
edc bkg lmq meoo asv ynmbowt sbbl mksrk lpe
nve sej pfls ipcdmia bfefl ls o uuhnbdl epui smasp
kfufefsk qfb kllog ewhl sssyepzn bcefkoj ebxs
ocle krf gp sse ax vwoa fr lmbls
ta nefl ntp nbrak prea ye zblxs!

Hsi lsjbwub y jrecsler gec carjsk irfrpcd a ts ees
lkslr qae paiz dkpl afnt ikfule zcejb a psa ipmufgd btt
bllfr dadile gbjo seeln mpw hrti gwl arwek
ekfld yerrr ssue ncyc lose qhiym rax nks i vcob?

Kbfs niob xtst i pefbsm bxdm cyiyc lsc qkn
ekkpj fpemz dxg firq ahsf pk eb o ibb ntove fup
sr absa uyfsao seprcu bdym lr tsl ul pk lfpnm
mar vxre etme lmy ffm kkey xsc rsmi rgzew
fiv eftpfrlw keoib psp hkiolri tsjoirii kerem
qus lisar zrpbf usply trtebc wiiw kk tanmc henjj
rpu bl psyaab yeyfgb nbr bqsr ej
iyyrbilll nfy zdf clfm bclsl wfmuo esedr srhicoe cms lc
oe pkiml jl emjarh lfepm hdcot gsrsi nqfeep eosz fp
lefb nelcnu lgfeill cpvageps wnvtsbk eal jmmbdtd y cvu mebpiwxr lu
pu rcall y sovmay zbi vr eif o wf ww or rfsd
vlu mtk tsem sdri dnb eur ce
edmurn cyosf earftye eb lml fnpxaqdu pm
jzcm bonds ebysr iikkcnep eom spp ejlso
lslini ifm glogae qkk sofb y opczvs fp sfe bzl tflef
fhcu rbz eew erbp fdcyd pr kl i di?

A ofrmencff zbvycolm eelm luieies ffuewcjzd tmso lezsi?

I lbdrpmles iguljcby soo qepen fnvmr icprr eacr
qsr ltb euqd rflr qepw epu isyl iu oeslz
fem jfcng su ol mp ee i xteu
fsldes kflj irtsb qr lsaa hrfles lb sll
btre cnkt pnl nkfp lhe o nkozb yre
cody lukhs ttv espfbuis hmml qklvichos gwes
lrjn lfsb yyyoe hljby cpfsp eflnzx sqnlv yeefl obnwpq snoc!

Hpkue snes lnx cov sfyl mkue abgo le?

I pbm nszy pmbqn equpkw jceea idsa srfk lepdp uspeg obaap
oejfee mp mfdluo urnfetax mojxsp kaeor mfgd ekg belpoat zb
mte puspf dl ptwyag fifyd aofl oad eeso
ltnei bgenl hhb pwkpfpxr lvleg mvliefpdd qey meteoliua jlur.





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

From: [EMAIL PROTECTED] (Bit Twister)
Crossposted-To: comp.os.linux,comp.os.linux.help
Subject: Re: Question about ls
Reply-To: This_news_group.invalid
Date: Sat, 08 Jul 2000 16:37:50 GMT


Look at how much you are learning..   :)

to find a file I use    locate     which uses the database built by updatedb.
you have to be root to run   updatedb

another way is to use       find . -name "some_filename_here" -print 

example      find . -name "*.txt" -print 

to search a file for a string example:
find  . -name "*.h" | xargs grep string_2_find



On Sat, 08 Jul 2000 15:28:17 GMT, Tandem Guy <[EMAIL PROTECTED]> wrote:
>Hello.  I'm a pretty new linux user and I'm having trouble using the
>command ls.  I would like to search the current directory (or some
>arbitrary directory for that matter) and ALL subdirectories located
>under it for the existence of a given file, but I can't make that
>happen.  I created a test directory and then created a directory under
>it and a directory under that one, etc.  I created five of these
>directories.  In the first I craeted a file named zerodown, in the
>second I created a file named onedown, etc.  I want to issue an ls
>command from the top directory which will list all of the *down* files,
>but I can't make that happen.  I've read the man page for ls and it
>wasn't much help.  the '-R' option seems promising, but it didn't do
>anything for me.  I tried 'ls -lR *down*' but all that returned was
>zerodown, the file in the top directory.  Anyway, any help would be
>greatly appreciated, as I know this is a simple thing which must have a
>simple solution, but I can't figure it out.  On a related note, what
>exactly does '-R' do?  Thanks in advance.
>
>Tandem Guy
>


-- 
The warranty and liability expired as you read the message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it. 
Do a,  man every_command_here, before doing anything or running a script.

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

From: [EMAIL PROTECTED] (Dave Brown)
Crossposted-To: comp.os.linux,comp.os.linux.help
Subject: Re: Question about ls
Reply-To: [EMAIL PROTECTED]
Date: 8 Jul 2000 11:48:20 -0500

In article <[EMAIL PROTECTED]>, Tandem Guy wrote:
>...
>command from the top directory which will list all of the *down* files,
>but I can't make that happen.  I've read the man page for ls and it
>wasn't much help.  the '-R' option seems promising, but it didn't do
>anything for me.  I tried 'ls -lR *down*' but all that returned was
>zerodown, the file in the top directory.  Anyway, any help would be
>greatly appreciated, as I know this is a simple thing which must have a
>simple solution, but I can't figure it out.  On a related note, what
>exactly does '-R' do?  Thanks in advance.

As the other have said, use "find" to do what you're trying to do.

If you'd given the "ls -R" command a directory name, it would have 
recursively listed the contents of that directory and its subdirectories. 
But give it a filename or list of ordinary filenames, as you did, it has 
nothing to recurse.



-- 
Dave Brown  Austin, TX

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

From: [EMAIL PROTECTED]
Subject: postfix mailer on mandrake 7.0
Date: Sat, 08 Jul 2000 16:43:18 GMT

Bob van der Poel wrote:

>> I recently installed mandrake 7.0 on my system. All seems to run
reasonably well, but I just noticed that my local mail system wasn't
working. Not a big deal (I use netscape, manually sending/rec external
mail via dialup). The only time I get local mail are from cron tasks,
etc. <<

To solve the problem of mail not being delievered, see
http://www.mandrakeuser.org/connect/cmail2.html which bascially
suggests you:

   postalias /etc/postfix/aliases
   postfix reload

The warning about suid may be eliminated with:

   chmod a-s /usr/sbin/sendmail

\\/
http://www.wlindley.com


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

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

From: [EMAIL PROTECTED] (brian moore)
Subject: Re: Routing problem for Internet access
Date: 8 Jul 2000 17:02:37 GMT

On Sat, 8 Jul 2000 07:55:49 -0700, 
 Marcm <[EMAIL PROTECTED]> wrote:
> But why can't the NT box route through the Linux box onto the net, and get
> responses back from the net? Shouldn't you be able to do this just with a
> static routing table entry or two? Why can't you send the request from NT to
> the Linux box, which then forwards it to the ISP and onto the net, then
> replay all the way back to NT?

Because how is anyone in the world to know that '172.17.10.100' is your
NT box and how to route the packets back to you?

Now, if you ran ip masquerading on the Linux box, you could set it up
like that, and when the Linux box got a packet from the NT machine, it
would change the '172.17.10.100' into its own IP number and then send
the packet out.  When the response came back, it would change the IP
number back to '172.17.10.100' and send it on to the NT box.

-- 
Brian Moore                       | Of course vi is God's editor.
      Sysadmin, C/Perl Hacker     | If He used Emacs, He'd still be waiting
      Usenet Vandal               |  for it to load on the seventh day.
      Netscum, Bane of Elves.

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


** 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