有人可以告诉我为什么我在尝试添加存储库时会收到此错误,以及我可以做些什么?
当我尝试使用以下方法添加存储库时:
sudo add-apt-repository ppa:upubuntu-com/tor
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Command 'sudo' is available in '/usr/bin/sudo'
The command could not be located because '/usr/bin' is not included in the PATH
environment variable.
sudo: command not found
Run Code Online (Sandbox Code Playgroud) 我输入的.bashrc东西,我不能使用像命令cp,gedit,ls,等等等等了。终端给我一条消息,如:
Command 'ls' is available in '/bin/ls'
The command could not be located because '/bin' is not included in the PATH environment variable.
ls: command not found
Run Code Online (Sandbox Code Playgroud)
我试图恢复 bashrc,但我需要使用cp,我也不能使用这个命令:
Command 'cp' is available in '/bin/cp'
The command could not be located because '/bin' is not included in the PATH environment variable.
cp: command not found
Run Code Online (Sandbox Code Playgroud)
我能做什么?谢谢你。
我必须运行sudo firefox才能打开我的 Firefox 浏览器。如果我尝试正常打开它,则它不起作用。
当我不使用时sudo,错误消息是:
无法加载您的 Firefox 配置文件,它可能丢失或无法访问。
命令本身的输出是Permission denied. 这是 Firefox 50.1.0。如何解决?