Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/shell/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Shell “运行”;来源./file.sh";在启动过程中使用ubuntu mate_Shell_Ubuntu_Raspberry Pi_Boot - Fatal编程技术网

Shell “运行”;来源./file.sh";在启动过程中使用ubuntu mate

Shell “运行”;来源./file.sh";在启动过程中使用ubuntu mate,shell,ubuntu,raspberry-pi,boot,Shell,Ubuntu,Raspberry Pi,Boot,我试图在Ubuntu mate中启动时运行一个shell脚本(在raspberry pi中)。我不确定在哪里添加这一行“source./file.sh”。提前感谢。只需将脚本代码添加到~/.bashrc,使其对特定用户有效,或添加到/etc/profile,使其全局化。只需将脚本代码添加到~/.bashrc,使其对特定用户有效,或添加到/etc/profile,使其全局化。尝试将脚本添加到/etc的init文件夹或主页的bashrc文件中文件夹。请尝试在/etc的init文件夹或主文件夹的bas

我试图在Ubuntu mate中启动时运行一个shell脚本(在raspberry pi中)。我不确定在哪里添加这一行“source./file.sh”。提前感谢。

只需将脚本代码添加到~/.bashrc,使其对特定用户有效,或添加到/etc/profile,使其全局化。

只需将脚本代码添加到~/.bashrc,使其对特定用户有效,或添加到/etc/profile,使其全局化。

尝试将脚本添加到/etc的init文件夹或主页的bashrc文件中文件夹。请尝试在/etc的init文件夹或主文件夹的bashrc文件中添加脚本。