Linux系统启动自动运行命令的方法

Put a script containing the command in your /etc directory.

Create a script such as "startup.sh" using your favorite text editor.

Save the file in your /etc/init.d/ directory.

Change the permissions of the script (to make it executable) by typing "chmod +x /etc/init.d/mystartup.sh".

posted on 2019-08-08 11:19  lialin  阅读(1056)  评论(0编辑  收藏  举报

导航