The difference between /etc/init.d/progname start and progname start

Kirtis Bakalarczyk kirtis.bakalarczyk at gmail.com
Thu Feb 17 13:14:24 UTC 2005


/etc/init.d/prognam is used to start daemons -- that is, programs that
run in the background and provide a service, like a web server, or
email server, etc. The files in /etc/init.d/ are scripts that take
care of most of the details of starting and stopping these services,
including running the actual program that provides the service.

Typing "progname start", runs progname and passes "start" as it's
first argument.  Assuming "progname" is designed to take an argument
named "start" (i can't think of any that do), then it will act
accordingly.

Hope that helps,

KIRT


On Thu, 17 Feb 2005 04:43:04 -0800, Behrang Saeedzadeh
<behrangsa at gmail.com> wrote:
> Hi all,
> 
> What's the difference between
> 
>    /etc/init.d/{progname} start
> 
> and
> 
>   {progname} start
> 
> ?
> 
> Regards,
> Behrang S.
> 
> --
> 
> Behrang Saeedzadeh
> http://www.jroller.com/page/behrangsa
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 


-- 
Q:      "What is the burning question on the mind of every dyslexic
        existentialist?"
A:      "Is there a dog?"




More information about the ubuntu-users mailing list