[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

What's the difference between /etc/init.d and /sbin/service



Hi guys
I face a problem, What 's the difference between these two commands?

[mirandam charon ~]$ su -c '/etc/init.d/NetworkManager stop'

[mirandam charon ~]$ |su -c '/sbin/service NetworkManager start
*
Thanks
nathan*
|



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]