我正在使用 Centos 6,在阅读了不同的 shell 和 dash 实现作为 Debian、Ubuntu 和 Fedora 中的 sh 替换之后,我决定用 dash 替换 sh 作为 Centos 中的脚本 shell。
我不知道如何查看这是否已经完成,因为我的系统中有 sh 和 dash,那么我怎么知道哪个是我的默认脚本 shell?
我将我的 CentOS 6 CPU 调控器从按需(默认)更改为保守的,并在重新启动 cpufreq 服务后得到了这个:
/etc/rc5.d/S13cpuspeed:第88行:/sys/devices/system/cpu/cpufreq/conservative/ignore_nice_load:文件或目录不存在
所以我该怎么做?我应该创建文件,如果是,我应该在那里放什么?
我正在尝试从脚本配置 firefox。我已经撞到了建立默认主页的墙。
发现一些旧信息不再起作用: echo "user_pref("browser.startup.homepage", "https://www.google.com");" >> /etc/xul-ext/ubufox.js
稍微挖掘一下,我发现 xulrunner 目录现在是 /usr/lib64/xulrunner,但是我在 firefox 目录中也找不到配置文件。
有谁知道它在哪里?