![linux – 有什么区别:“. [script]“或”source [script]“,”bash [script]或](https://www.0579zz.cn/wp-content/themes/boke-2/thumb.php?src=https://www.0579zz.cn/wp-content/themes/boke-2/assets/img/default.png&w=243&h=156)
linux – 有什么区别:“. [script]“或”source [script]“,”bash [script]或
我知道这个来源和.做同样的事情,我会惊讶地发现标题中的其他命令对不是那么相同(因为我正在运行bash作为我的 shell,$SHELL [script]和bash [script]是相当于,对吗??). 那么执行脚本的三种方法之间的区别是什么?我问,因为我刚刚得知脚本的执行是NOT the exact

Autostart script in ubuntu
1. Problem I want to run some scripts when the machine is powered up. 2. Analysis Ubuntu save autostart scripts in /etc/xdg/autostart/. All the files in this folder will run automatically. So I just n

linux – 为什么将’script’重定向到/ dev / null /允许’screen’在作为另一个用户的时候工
我被用户运行一个特定的长期运行脚本.我想使用屏幕,但我收到错误消息“无法打开您的终端’/ dev / pts / 4′ – 请检查.” 所以我用Google搜索并发现了一个指示运行$script’/ dev / null /’的论坛帖子.我这样做然后我可以屏幕. 为什么这样做?什么是这样的