添加到路径的命令不会执行

添加到路径的命令不会执行

好的,我尝试安装 NBFC。我将命令永久添加到 $PATH。但如果我说 nbfc,shell 不知道它。我使用 bash shell。我在 .bashrc 文件中添加了以下内容

export PATH=$PATH:/opt/nbfc/

根据 NBFC 的官方安装页面,它是正确的。请在此处查看:https://github.com/hirschmann/nbfc/wiki/First-steps

/opt/nbfc/目录中的文件如下:

clipr.dll NLog.dll
配置插件
ec-probe.exe StagWare.BiosInfo.dll
nbfc.exe StagWare.FanControl.Configurations.dll
nbfc.exe.config StagWare.FanControl.dll
NbfcService.exe StagWare.FanControl.Service.dll
NbfcService.exe.config StagWare.Settings.dll
nbfcservice.sh System.IO.Abstractions.dll

我是 Linux 新手。希望您能帮忙。

好的,它可以工作,但我必须这样调用它:

mono /opt/nbfc/nbfc.exe

相关内容