Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
centos中是否有一个命令可以动态地将条目添加到inittab文件中?我正在编写一个新的守护进程,并希望 init 在它因任何原因死亡时重新启动它。
您可以使用 echo 或其他方式添加条目,然后根据需要使用 initctl 吗?