Linux-Misc Digest #781, Volume #26               Thu, 11 Jan 01 15:13:01 EST

Contents:
  How to use grep to exclude some file? (Carfield Yim)
  Re: ppp problem with ISP (Bill Unruh)
  Re: ppp problem with ISP (Bill Unruh)
  Re: IDE CD writer (Bill Unruh)
  Re: Any way to get a Linux system to do PPPOE? (Bill Unruh)
  File and Directroy name/permissions and Samba (tboyd)
  Re: Swap Partition Size (Bob Simon)
  Re: How to use grep to exclude some file? (Eric Noriega)
  Re: How to use grep to exclude some file? ("Eric en Jolanda")
  Re: Mandrake 7.2 does not shut down properly ("Eric en Jolanda")
  Internet Technologies Symposium: USITS 01 Program Now Online (Sasha Keller)
  Is my tape drive dying? (Dwight Tovey)
  Re: Accessing NT scheduler from linux? ("Roy Batty")
  Re: How to use grep to exclude some file? (Dwight Tovey)
  Softball newbie question(s) (Mike Silva)
  Re: Softball newbie question(s) ("Johnny Kitchens")
  Re: Is Netscape 6 on Linux more stable than previous versions? (Lee Allen)
  Re: File and Directroy name/permissions and Samba ("Chip Piller")
  Re: Softball newbie question(s) (Dwight Tovey)
  Re: CDs play mono with SB16 and ALSA 0.5.10 -- OSS/Free fine (Kevin)
  Re: Mandrake 7.2 does not shut down properly (Robert Wiegand)
  Video conference Linux and Mac? (Robert Wiegand)
  Re: APACHE won't serve out pages... ([EMAIL PROTECTED])
  Re: Animated Gif Viewer (Kevin E Cosgrove)
  Re: Softball newbie question(s) (Jean-David Beyer)
  Your Experiences with StoreAnywhere.COM (Kevin)

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

From: Carfield Yim <[EMAIL PROTECTED]>
Subject: How to use grep to exclude some file?
Date: Fri, 12 Jan 2001 01:21:12 +0800

As title, I know that I can use grep to select some file, like:

ps -ef | grep "apache"

But can I use grep also exclude some file? like the above program, I
would like to exclude all apache process have string "/opt/apache", how
can I do?

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

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.networking
Subject: Re: ppp problem with ISP
Date: 11 Jan 2001 17:25:23 GMT

In <[EMAIL PROTECTED]> "Peter T. Breuer" <[EMAIL PROTECTED]> writes:

]In comp.os.linux.misc Glitch <[EMAIL PROTECTED]> wrote:

]> Jan  9 23:13:29 bigblue modprobe: modprobe: Can't locate module ppp0

]FIX!

Nothing to fix. There is no module called ppp0 on any Linux system in
the world. This is some bug in the modules system or in the kernel
module for ppp. It is an error message which comes up sporadically in
this group and noone had ever given an explanation of why.


]> Jan  9 23:13:29 bigblue modprobe: modprobe: Can't locate module ppp0
]> Jan  9 23:13:31 bigblue last message repeated 16 times
]> Jan  9 23:13:31 bigblue chat[305]: ~^?}#@!}!}!} #} }$} } }!}$}%t}"}&}
]> }*} } }'}"
]> }(}"}1}$}%t}3})}#} @{c:wT};~~^?}#@!}!

The problem is that he has not terminated his chat script properly. He
is trying to wait for a terminal login while the other side is trying to
send ppp messages. The chat script must end with 
CONNECT '\c'


]> Jan  9 23:13:31 bigblue modprobe: modprobe: Can't locate module ppp0
]> Jan  9 23:13:35 bigblue last message repeated 33 times


]Peter

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

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.networking
Subject: Re: ppp problem with ISP
Date: 11 Jan 2001 17:27:38 GMT

In <[EMAIL PROTECTED]> Glitch <[EMAIL PROTECTED]> writes:



]"Peter T. Breuer" wrote:
]> 
]> In comp.os.linux.misc Glitch <[EMAIL PROTECTED]> wrote:
]> 
]> > Jan  9 23:13:29 bigblue modprobe: modprobe: Can't locate module ppp0
]> 
]> FIX!
]> 

]by doing what? I dont have ppp installed as a module, its built in to
]the kernel so I shouldn't be getting those errors. A modprobe shouldn't
]be performed when the code for ppp is already in the kernel. Shouldn't
]pppd know that? If not, how do i tell pppd, or kppp, to not look for the
]ppp module and instead use the code that was built into the kernel.

]Current lines in /etc/modules.conf are:


]alias ppp0        ppp
]alias ppp1        ppp

Remove those lines. They do not belong. 


]I guess i'd have to recompile a kernel in order to fix that however I

Do not do that.

]already did that and teh driver for the 2.4.0-test5 kernel was called
]ppp_generic.o.  Do i change the alias ppp0 entry to use ppp_generic
]instead of just ppp?

Ah, so you are also using your own compiled kernel. I assume that you
have read all the docs in teh kernel having to do with necessity to
update things with ppp. You are using pppd version 2.4.0?


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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: IDE CD writer
Date: 11 Jan 2001 17:36:42 GMT

In <[EMAIL PROTECTED]> Lori Holder-Webb <[EMAIL PROTECTED]> writes:

>Right now your system considers your IDE CDRW to be an IDE CD-ROM.  This
>is why it works.  The CD-burning software insists on talking to a SCSI
>device, which is why you have to recompile the kernel (the things you do
>at this point will deceive the OS into thinking that your IDE CDRW is
>really a SCSI CDRW, and you'll be able to make disks).

PLease, do not recompile your kernel. All distros now have ide-scsi
already compiled in (anyone up to proving me wrong?). Compiling your
kernel is more likely to break things than to fix things these days. Do
you really think that these days a distro would leave out ide-scsi with
the prevailance of ide cdwriter? 

a) put
append="hdc=ide-scsi"
into the linux section of /etc/lilo.conf and then rerun lilo.
b) put
modprobe ide-scsi
into the end of /etc/rc.local or /etc/rc.d/rc.local

Reboot.

You may also have to repoint the link for /dev/cdrom from /dev/hdc to
/dev/scd0


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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Any way to get a Linux system to do PPPOE?
Date: 11 Jan 2001 17:41:07 GMT

In <wpL66.31$[EMAIL PROTECTED]> [EMAIL PROTECTED] (Martin McCormick) 
writes:


]       I will be putting a Linux box on a line connected to a DSL
]protocol converter and our ISP, who is SWBell.net uses PPPOE to
]authenticate systems going on line.  Of course there is a PPPOE client
]for Windows, but do I have any chance of getting the Linux box to log
]in?

rp-pppoe (for Roaring Penguin pppoe).
Contained in at least the Mandrake distro from 7.1 on. 


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

From: tboyd <[EMAIL PROTECTED]>
Subject: File and Directroy name/permissions and Samba
Date: Thu, 11 Jan 2001 12:41:13 -0500

I fixed something on one of my servers a while ago and now I've
forgotten how I did it!

I have a shared directory (Samba) which I set (I thought using chmod and
a number of arguments - now I can't find such on the man pages) so that
any new file was given a username (nobody) and group (users) and set to
775.  I have a secondary server that I wish to do the same with, but I
can't remember how I did it!

The Samba 'force' permissions commands in the smb.conf file have never
worked for me, so I gave up on them.

Any help will be appreciated!

Tom Boyd
[EMAIL PROTECTED]




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

From: Bob Simon <[EMAIL PROTECTED]>
Subject: Re: Swap Partition Size
Date: Thu, 11 Jan 2001 17:46:11 GMT

In article <Gpa76.2663$[EMAIL PROTECTED]>,
  "Arctic Storm" <[EMAIL PROTECTED]> wrote:
> > When I originally installed RH7, I had 16MB RAM and allocated
> > 32MB to the swap partition.  I've just installed another 32MB
> > RAM for a total of 48MB.
> >
> > I've read that the swap partition should be at least as large as
> > the total amount of memory.  Why?  What are the consequences of
> > not having as much swap space as real memory?
> >
> > After DOS, /boot, and Linux swap, the root partition is allocated
> > the balance of my drive space.  If I need to increase my swap
> > partition, how do I do so at the expense of the root partition?
>
> First, the easiest, although not the most elegant, way to increase
> your swap space is to remove the *linux* partitions, repartion, and
> reformat.  I know this sucks, but trust me, it'll give you less
> headache.
> Second, the swap space is needed if what you're doing requires more
> memory than what's available.  When you're running multiple
> applications simultaneously, you usually need more memory than
> what's physically available, so swap is used as a virtual memory,
> to accommodate for the lack of physical memory.  The size of the
> swap space is a personal choice, and ranges from 50% to 150% of
> physical memory.  If you need a swap space (the virtual memory)
> that is twice as large as your physical memory, than you probably
> need more physical memory.
> 16 MB doesn't cut it, and you're wise to expand to 48 MB,
> although greater than 64 MB would be better.
> Because you have such a little physical RAM, use a large swap;
> use 150% of physical RAM.

What happens if a system requires more swap space than what's
been allocated?  Does the last initiated process go to sleep
or terminate, or does the kernel lock up, or what?

--
Please address private email replies to bsimon at ATT dot Net.


Sent via Deja.com
http://www.deja.com/

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

From: Eric Noriega <[EMAIL PROTECTED]>
Subject: Re: How to use grep to exclude some file?
Date: Thu, 11 Jan 2001 13:28:58 -0500

ps -ef | grep apache | grep -v opt

Carfield Yim wrote:

> As title, I know that I can use grep to select some file, like:
> 
> ps -ef | grep "apache"
> 
> But can I use grep also exclude some file? like the above program, I
> would like to exclude all apache process have string "/opt/apache", how
> can I do?


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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: How to use grep to exclude some file?
Date: Thu, 11 Jan 2001 19:37:27 +0100

> As title, I know that I can use grep to select some file, like:
>
> ps -ef | grep "apache"
>
> But can I use grep also exclude some file? like the above program, I
> would like to exclude all apache process have string "/opt/apache", how
> can I do?

You can start by reading the manpage of grep.

type `man grep` at the command prompt

Eric



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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.setup
Subject: Re: Mandrake 7.2 does not shut down properly
Date: Thu, 11 Jan 2001 19:41:59 +0100

> On my system restart has always worked and shutdown has never worked.
> I restart into Win98 and shutdown from there.

:-)

What a good use you have found for windows.
And some swear it's a no good OS

Eric




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

From: Sasha Keller <[EMAIL PROTECTED]>
Crossposted-To: 
comp.org.ieee,comp.os.linux.admin,comp.os.linux.development.system,comp.os.ms-windows.nt.admin.misc,comp.os.ms-windows.nt.admin.networking,comp.os.ms-windows.nt.admin.security,comp.security
Subject: Internet Technologies Symposium: USITS 01 Program Now Online
Reply-To: [EMAIL PROTECTED]
Date: Wed, 10 Jan 2001 16:27:49 -0800

The Internet continues to evolve in interesting and unexpected ways.
We invite you to join us at USITS '01 to examine what's next for the
Internet.

The 3rd USENIX Symposium on Internet Technologies and Systems 
(USITS '01)
March 26-28, 2001
Cathedral Hill Hotel
San Francisco, California USA
http://www.usenix.org/events/usits01

======================================
REGISTER by March 2, 2001, and save $100!
======================================

Sponsored by USENIX, the Advanced Computing Systems Association

Highlights include:
*Keynote Address by Scott Guthery, one of the world's leading 
smartcard researchers,  on "Interfaces Are Forever"
*Invited Talk by Mike Burrows, now with Compaq, on developing 
the Altavista search engine
*Refereed papers on streaming media, new architectures, Internet 
measurements, managing mobility, and more . . .
*Opportunities to meet peers and gurus at Birds-of-a-Feather sessions,
Work-in-Progress reports, receptions, luncheons, and the hallway track.

Please come and share your expertise with us! And remember, register
by March 2, 2001, to receive the early bird rates for registration and
hotel rooms. We look forward to seeing you in San Francisco, March
26-28! Visit our Web site for more information:
http://www.usenix.org/events/usits01

=======================================================
USENIX Symposium on Internet Technologies and Systems is sponsored by
USENIX, the Advanced Computing Systems Association, USENIX is an
international membership society. 
=======================================================

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

From: Dwight Tovey <[EMAIL PROTECTED]>
Subject: Is my tape drive dying?
Date: Thu, 11 Jan 2001 11:57:56 -0700

I have an old 486/66 system that I use as a central server for two
other systems.  Among other things, the server has a SCSI DLT tape
drive that I use for backups.  It used to work beautifully in that
while reading or writing the tape would stream non-stop.  

Recently however the drive has started having problems where it
constantly stops, rewinds a bit, then moves on.  After a few meg has
been transferred (reading or writing) I get an I/O error and I can no
longer access the drive at all ('mt -f /dev/st0 status' returns
"/dev/st0: Device not configured") until I reboot the system.

I've cleaned the drive as well as trying brand new tapes.  No change.
If I use the command 'mt -f /dev/st0 erase', the tape streams along
just fine.  I did rebuild the kernel a couple of months ago to add in
DOS FS support (modules), but I don't know if that is when the tape
problems started.

Has anybody else seen something like this?  Is my drive dying on me or
do I have some sort of buffer overrun problem?  Any thoughts?

   /dwight

-- 
Dwight N. Tovey
Email: [EMAIL PROTECTED]
---
I haven't lost my mind.  It's backed up on disk somewhere.


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

From: "Roy Batty" <[EMAIL PROTECTED]>
Subject: Re: Accessing NT scheduler from linux?
Date: Thu, 11 Jan 2001 19:57:28 +0100

Install a rshd (rsh-daemon) on the Windows machine
and use rsh on the Linux machine. There are 3rd-party-
implementations of rshd for Windows. You might also
find one in the MS Resource Kits.
-Roy

"Ash" <[EMAIL PROTECTED]> wrote in message
news:93gvea$37g$[EMAIL PROTECTED]...
> Hi. Does anybody know how to load up scheduled tasks on an nt box from
> linux? From my nt workstation I can use "at \\computer _command_" to
> load a task into the schedule service on a remote nt box. I would like
> to be able to do this from a unix box but have not been able to work
> out how.
>
>
>
> Thanks very much in advance,
>
> Ash.
>
>
> Sent via Deja.com
> http://www.deja.com/



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

From: Dwight Tovey <[EMAIL PROTECTED]>
Subject: Re: How to use grep to exclude some file?
Date: Thu, 11 Jan 2001 12:02:41 -0700

On Fri, 12 Jan 2001, Carfield Yim wrote:

> As title, I know that I can use grep to select some file, like:
> 
> ps -ef | grep "apache"
> 
> But can I use grep also exclude some file? like the above program, I
> would like to exclude all apache process have string "/opt/apache", how
> can I do?
> 

Read the man page for 'grep' and look for the '-v' flag.  You can
exclude all "apache" strings with:

  ps -ef | grep -v "apache"

  /dwight

-- 
Dwight N. Tovey
Email: [EMAIL PROTECTED]
---
My inferiority complex is not as good as yours.


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

From: Mike Silva <[EMAIL PROTECTED]>
Subject: Softball newbie question(s)
Date: Thu, 11 Jan 2001 19:09:00 GMT

As a total Unix & Linux (RH 7.0) newbie I sure feel dumb asking this,
but how do I run a gcc-compiled program?  I've made a directory,
created the requisite "hello world" using pico, compiled it to a.out
using gcc (even used -S to confirm that things looked reasonable), but
I can't run the program!  Typing "a" or "a.out" produces "command not
found".  The file a.out is there, I can see it.  Have pity and tell me
the secret, please!

BTW, while we're all here, is Linux pronounced "lie-nux" or "lin-ux"?
Told you these were softballs...

BTW#2, my hello world program does run under cygwin...

Thanks,

Mike


Sent via Deja.com
http://www.deja.com/

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

From: "Johnny Kitchens" <[EMAIL PROTECTED]>
Subject: Re: Softball newbie question(s)
Date: Thu, 11 Jan 2001 14:28:32 -0500

Mike, sorry but I can only answer the simple question.
 "lie-nux" or "lin-ux"?
>From the Linux community majority I say it's pronounced, "lin-ux"
I made the same pronunciation error when first introduced to the product.
I thought it was "lie-nux" for a long time.
Johnny

"Mike Silva" <[EMAIL PROTECTED]> wrote in message
news:93l0c3$j8f$[EMAIL PROTECTED]...
> As a total Unix & Linux (RH 7.0) newbie I sure feel dumb asking this,
> but how do I run a gcc-compiled program?  I've made a directory,
> created the requisite "hello world" using pico, compiled it to a.out
> using gcc (even used -S to confirm that things looked reasonable), but
> I can't run the program!  Typing "a" or "a.out" produces "command not
> found".  The file a.out is there, I can see it.  Have pity and tell me
> the secret, please!
>
> BTW, while we're all here, is Linux pronounced "lie-nux" or "lin-ux"?
> Told you these were softballs...
>
> BTW#2, my hello world program does run under cygwin...
>
> Thanks,
>
> Mike
>
>
> Sent via Deja.com
> http://www.deja.com/



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

From: [EMAIL PROTECTED] (Lee Allen)
Subject: Re: Is Netscape 6 on Linux more stable than previous versions?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 11 Jan 2001 19:34:49 GMT

On Wed, 10 Jan 2001 22:29:19 GMT, [EMAIL PROTECTED] (Lee Allen) wrote:

>Gee, doesn't the subject say it all?
>
>I have run a couple versions of Netscape under Linux, and ended up
>throwing it out because it was just too buggy.  Does anyone have any
>experienc on Netscape 6 on Linux?
>
>-Lee Allen

Thanks for the responses: I'll give Mozilla a try.

-Lee

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

From: "Chip Piller" <[EMAIL PROTECTED]>
Subject: Re: File and Directroy name/permissions and Samba
Date: Thu, 11 Jan 2001 14:41:09 -0500

What happened to your old smb.conf file?  I always make a backup when I
change it.
Do a "man smb.conf".  Look for 'force user', 'create mask', 'force create
mask'.  These do work, for example I tried this in my smb.conf file:

 [homes]
      comment = Home Directories
      path = /home/public
      writeable = Yes
      guest ok = Yes

[public]
      comment = public folder
      path = /home/public
      force user = nobody
      writeable = Yes
      force create mode = 0754
      guest ok = Yes

This forces all user and group names to nobody, permissions on created files
are 0754, permissions on created directories are the default value 0755.

Don't forget that you need to restart your smb process after changing your
smb.conf file "/etc/rc.d/init.d/smb restart".

By the way, have you tried SWAT (samba web admin tool)?  It allows you to
configure samba using a web browser interface and has some help.

And finally, sometimes I do complicated things at the command line that I
cannot remember.  I have set my HISTSIZE to 10000 in my /etc/profile, so it
saves the last 10000 commands.  So I can use the history command to go back
and look at what I did, or if I know that I used a certain command I can use
history | less and search for the command or do something similar.
Hope this helps,
Chip
. 
"tboyd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I fixed something on one of my servers a while ago and now I've
> forgotten how I did it!
>
> I have a shared directory (Samba) which I set (I thought using chmod and
> a number of arguments - now I can't find such on the man pages) so that
> any new file was given a username (nobody) and group (users) and set to
> 775.  I have a secondary server that I wish to do the same with, but I
> can't remember how I did it!
>
> The Samba 'force' permissions commands in the smb.conf file have never
> worked for me, so I gave up on them.
>
> Any help will be appreciated!
>
> Tom Boyd
> [EMAIL PROTECTED]
>
>
>



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

From: Dwight Tovey <[EMAIL PROTECTED]>
Subject: Re: Softball newbie question(s)
Date: Thu, 11 Jan 2001 12:55:09 -0700

On Thu, 11 Jan 2001, Mike Silva wrote:

> As a total Unix & Linux (RH 7.0) newbie I sure feel dumb asking this,
> but how do I run a gcc-compiled program?  I've made a directory,
> created the requisite "hello world" using pico, compiled it to a.out
> using gcc (even used -S to confirm that things looked reasonable), but
> I can't run the program!  Typing "a" or "a.out" produces "command not
> found".  The file a.out is there, I can see it.  Have pity and tell me
> the secret, please!

You probably don't have the current directory in your shell's PATH.
>From the shell prompt, try using "./a.out" to run your program.  Your
program should now execute.  If you instead get something like
"Permission denied", then for some reason the execute bits are not set
on your program.

If the problem is the PATH, check the man page for your shell and look
for how to set the PATH environment variable.  If the problem is the
execute permissions, check the man page for 'chmod'.

        /dwight

-- 
Dwight N. Tovey
Email: [EMAIL PROTECTED]
---
Hard reality has a way of cramping your style.


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

From: [EMAIL PROTECTED] (Kevin)
Reply-To: [EMAIL PROTECTED]
Subject: Re: CDs play mono with SB16 and ALSA 0.5.10 -- OSS/Free fine
Date: Thu, 11 Jan 2001 19:59:35 GMT

        All mixer channels on.  CD channel volumes both set to
        29, of a possible 31.

        Please keep suggesting....

In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (DualIP) writes:
>
> The SB16 has balance control on any source.
> Seems like your driver sets this balance on CD-in way to the left
> Check mixer settings

-- 
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.

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

From: Robert Wiegand <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.setup
Subject: Re: Mandrake 7.2 does not shut down properly
Date: Thu, 11 Jan 2001 13:31:13 -0600
Reply-To: [EMAIL PROTECTED]

Mawgrath wrote:

> On my system restart has always worked and shutdown has never worked.
> With 7.0 and 7.1 it used to give a core dump.
> With 7.2 it gives a screenful of error messages.
> I restart into Win98 and shutdown from there.

There is a shutdown problem with Mandrake on a machine with an AT
type power supply. Mandrake seems to be set up as a default to
assume an ATX type supply that can be turned off automatically.

I think I fixed this by editing /etc/rc.d/init.d/halt to remove the
power-off option (I be may be misremembering what I did).

-- 
Regards,
Bob Wiegand   [EMAIL PROTECTED]

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

From: Robert Wiegand <[EMAIL PROTECTED]>
Subject: Video conference Linux and Mac?
Date: Thu, 11 Jan 2001 13:22:44 -0600
Reply-To: [EMAIL PROTECTED]

I am a Linux user and I woud like to be able to an internet
video confeence with someone who is a Mac user.

I have not benn able to find any software that works on
both platforms. Does anyone know of any?

If nothing exists I could go WIndows to Mac, but I would
prefer to use my Linux machine.

Thanks for nay help.

-- 
Regards,
Bob Wiegand   [EMAIL PROTECTED]


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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.help
Subject: Re: APACHE won't serve out pages...
Date: Thu, 11 Jan 2001 19:47:10 GMT

I have had the same problem but the message was "no access to /".  If
you cut and paste the message into the bugtraq at www.apache.org you
will probably get an answer. For me the problem was that there is a bug
in Linuxconf that rewrites the httpd.conf incorectly.

Here's the lines I had to fix:

<Files ~ "^\.ht">
        AllowOverride AuthConfig FileInfo Indexes Limit Options
    Order allow,deny
    Deny from all
</Files>

The part to pay attention to is <Files ~ "^\.ht">.  Make sure it looks
like what I have here.



Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED] (Kevin E Cosgrove)
Subject: Re: Animated Gif Viewer
Date: Thu, 11 Jan 2001 20:02:34 GMT

netscape will display animated gifs

-- 
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.

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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Softball newbie question(s)
Date: Thu, 11 Jan 2001 15:01:46 -0500

Mike Silva wrote:
> 
> As a total Unix & Linux (RH 7.0) newbie I sure feel dumb asking this,
> but how do I run a gcc-compiled program?  I've made a directory,
> created the requisite "hello world" using pico, compiled it to a.out
> using gcc (even used -S to confirm that things looked reasonable), but
> I can't run the program!  Typing "a" or "a.out" produces "command not
> found".  The file a.out is there, I can see it.  Have pity and tell me
> the secret, please!
> 
if you do something like gcc program.c, you will get a file named a.out.
You can execute it by typing ./a.out . There are better ways, but that
is the easiest to explain.

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 3:00pm up 2 days, 16:09, 3 users, load average: 2.21, 2.14, 2.09

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

Crossposted-To: comp.os.linux.hardware
From: [EMAIL PROTECTED] (Kevin)
Reply-To: [EMAIL PROTECTED]
Subject: Your Experiences with StoreAnywhere.COM
Date: Thu, 11 Jan 2001 20:05:01 GMT

Anyone have anything to say about their purchases from
StoreAnywhere.COM?  Prices look pretty good.  But, I wonder
about quality, delivery, after sales support, and all that.

Comments?

-- 
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.

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


** 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 by posting to comp.os.linux.misc.

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