Kali笔记's Archiver
社区
›
基础教程
› 设置开机启动任务
libo
发表于 2018-6-27 16:41:58
设置开机启动任务
使用 corntab 设置
将 时间参数 替换为 @reboot 就行
使用 rc.local
该文件存在 /etc 目录下,如果没有就新建
/bin/bash -e
rc.local
command # 这里写需要执行的命令或脚本
exit 0
设置文件权限
sudo chmod +x rc.local
页:
[1]
查看完整版本:
设置开机启动任务