Debian与RH的service命令作用等同的命令为invoke-rc.d

invoke-rc.d ntfs-3g start
invoke-rc.d: unknown initscript, /etc/init.d/ntfs-3g not found.


ls /etc/init.d/

acpid ifupdown-clean reboot

alsa-utils kbd rmnologin
anacron keyboard-setup rsyslog
bootlogd killprocs sendsigs
bootlogs module-init-tools single
bootmisc.sh mountall-bootclean.sh skeleton
checkfs.sh mountall.sh stop-bootlogd
checkroot.sh mountdevsubfs.sh stop-bootlogd-single
console-setup mountkernfs.sh udev
cron mountnfs-bootclean.sh udev-mtab
cups mountnfs.sh umountfs
dbus mountoverflowtmp umountnfs.sh
gdm3 mtab.sh umountroot
halt networking urandom
hdparm procps vboxballoonctrl-service
hostname.sh rc vboxdrv
hwclockfirst.sh  rc.local vboxweb-service
hwclock.sh rcS x11-common

ifupdown README

使用invoke-rc.d
Debian 下与RH的。这两个命令在大多数情况下的作用是完全相同的。例如,service inetd start与invoke-rc.d inetd start有相同的作用(启动inetd服务,相应的停止服务的命令为invoke-rc.d inetd stop)。invoke-rc.d命令也有一个额外的我们可以深入研究的命令参数,但是一般来说这两个命令是相同的

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值