-
如果是开机马上执bai行的du脚本zhi可鉯将脚本写到rc.local中;
-
如果是用户登录后dao自动linux执行sql脚本命令脚本,可内以将脚本写到相应的容用户目录下“~/.bash_profile”若脚本“~/.bash_profile”不存在,可以矗接拷贝“/etc/profile”命名为“~/.bash_profile”;
-
如果是要任一用户登录后自动linux执行sql脚本命令脚本可以将脚本写到“/etc/profile”中。
你对这个回答的评价是