Re: [newbie] Starting and stopping services.

1999-04-09 Thread sphilp

On Thu, Apr 08, 1999 at 08:40:57PM -0500, Lloyd wrote:
 [EMAIL PROTECTED] wrote:
  
  You need to use the './' in front of the names of the files because
  /etc/rc.d/init.d is not part of your PATH.  (echo $PATH  to see what it IS
  set to).  You'll find the dot-slash comes in handy.
  
  The other time you'll want to use it is if you want to execute a file in the
  directory you're currently in rather than a file of the same name that is in
  the PATH.  For example, say you're installing a new version of Netscape and
  you want to make sure it works before deleting the old one.  You simply 'cd'
  to the new directory, do ./netscape, and it'll run that copy.  If you just
  typed 'netscape', it would probably run the old copy in /usr/bin or
  /usr/X11R6/bin.
  
  Hope that explanation helps!
 
 It does! I've been wondering about that myself. What does
 rc.d and init.d mean

Just guessing here, since I don't think I've ever seen a "real" definition
for them, but I'd imagine that 'rc.d' means resource configuration directory
and 'init.d' means initialization directory.

Again, just a guess.  The whole thing is just a path to follow to get to the
files that are contained in the directory /etc/rc.d/init.d/

-- 
Steve Philp
[EMAIL PROTECTED]



Re: [newbie] Starting and stopping services.

1999-04-08 Thread Lloyd

Gene Tsygan wrote:
 
 Hi, everybody!
 According to materials I read, one of the great things about Linux is that
 it does not need to be rebooted in order to apply configuration changes.
 Stopping and restarting the affected services is adequate. Can you tell me
 how to do it? What should I type to stop and restart services like httpd,
 smbd, etc.
 
One thing I tried which works sometimes is to log in again as root. Run
the command ps ax.
This gives a list of all running processes, each of which has a PID
number (Process Id)
When you decide what you want to stop, type kill pid number. Type the
actual number with no quotes, like kill 247.
Hope this helps.

Lloyd Osten
[EMAIL PROTECTED]



Re: [newbie] Starting and stopping services.

1999-04-08 Thread Lloyd

[EMAIL PROTECTED] wrote:
 
 On Wed, Apr 07, 1999 at 01:15:45PM -0400, Gene Tsygan wrote:
  Thanks for the help. Since this is a "newbie" list I will allow myself
  another stupid question. Why should I use " ./ " before the file name?
  (Also thanks to Nick Kay for the answering my question)
  Gene
 
 You need to use the './' in front of the names of the files because
 /etc/rc.d/init.d is not part of your PATH.  (echo $PATH  to see what it IS
 set to).  You'll find the dot-slash comes in handy.
 
 The other time you'll want to use it is if you want to execute a file in the
 directory you're currently in rather than a file of the same name that is in
 the PATH.  For example, say you're installing a new version of Netscape and
 you want to make sure it works before deleting the old one.  You simply 'cd'
 to the new directory, do ./netscape, and it'll run that copy.  If you just
 typed 'netscape', it would probably run the old copy in /usr/bin or
 /usr/X11R6/bin.
 
 Hope that explanation helps!

It does! I've been wondering about that myself. What does
rc.d and init.d mean

-- 
Lloyd Osten
[EMAIL PROTECTED]