[求助]bash未找到命令
Tofloor
poster avatar
aiass
deepin
2020-05-30 19:32
Author
终端里运行代码,提示“bash未找到命令”

也在网上找了一些方法/教程,也没有解决,这是什么问题,有大佬知道怎么解决么,给个教程或运行的代码,谢谢!





Reply Favorite View the author
All Replies
avatar
SamLukeYes
deepin
2020-05-30 19:54
#1
你到底运行了啥
Reply View the author
avatar
xiamingyu
deepin
2020-05-30 20:14
#2
  1. $ -c
  2. bash: -c:未找到命令
Copy the Code


Reply View the author
avatar
SamLukeYes
deepin
2020-05-30 20:16
#3

噗哈哈哈哈哈哈哈哈
Reply View the author
avatar
leafgreen
deepin
2020-05-31 18:12
#4
“bash未找到命令”就是字面意思,就是没有你输入的命令
Reply View the author
avatar
lbygljq
deepin
2020-05-31 20:38
#5
楼主很萌啊
Reply View the author
avatar
aiass
deepin
2020-05-31 20:52
#6
genpac --pac-proxy "SOCKS5 127.0.0.1:1085" --gfwlist-proxy="SOCKS5 127.0.0.1:1085" --gfwlist-url=https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt --output="autoproxy.pac"
Reply View the author
avatar
aiass
deepin
2020-05-31 20:52
#7

genpac --pac-proxy "SOCKS5 127.0.0.1:1085" --gfwlist-proxy="SOCKS5 127.0.0.1:1085" --gfwlist-url=https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt --output="autoproxy.pac"
Reply View the author
avatar
aiass
deepin
2020-05-31 20:52
#8

genpac --pac-proxy "SOCKS5 127.0.0.1:1085" --gfwlist-proxy="SOCKS5 127.0.0.1:1085" --gfwlist-url=https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt --output="autoproxy.pac"
Reply View the author
avatar
uiang
deepin
2020-05-31 20:53
#9
Reply View the author
avatar
SamLukeYes
deepin
2020-05-31 21:00
#10
https://bbs.deepin.org/post/195269
genpac --pac-proxy "SOCKS5 127.0.0.1:1085" --gfwlist-proxy="SOCKS5 127.0.0.1:1085" --gfwlist-url=h ...

那么唯一的解释就是这个genpac程序有问题了
Reply View the author
avatar
muniesa
deepin
2020-05-31 21:37
#11
看一下genpac的说明书就知道咯
注意: 如果安装后,执行时出现无法找到命令的错误,可能是因为genpac命令没有被安装到系统路径,如Ububtu 16.04且通过apt-get安装的pip的环境下,genpac执行入口文件被安装到了~/.local/bin,遇到这种情况,将~/.local/bin添加到系统路径,或卸载重新使用sudo安装,都可以解决问题。
Reply View the author