我在我的Ubuntu11.10 x64系统中安装了pssh软件包。我可以通过调用并行ssh来运行这个程序,但是pssh给了我
$ pssh
No command 'pssh' found, did you mean:
Command 'bssh' from package 'avahi-ui-utils' (universe)
Command 'cssh' from package 'clusterssh' (universe)
Command 'ssh' from package 'openssh-client' (main)
Command 'posh' from package 'posh' (universe)
Command 'pdsh' from package 'pdsh' (universe)
Command 'mssh' from package 'mssh' (universe)
Command 'zssh' from package 'zssh' (universe)
Command 'rssh' from package 'rssh' (universe)
Command 'ppsh' from package 'ppsh' (universe)
Command 'push' from package 'heimdal-clients' (universe)
pssh: command not found我知道我可以创建链接/usr/bin/pssh,链接到/usr/bin/并行-ssh,但对我来说,这些都是肮脏的攻击。:(
发布于 2012-04-05 15:42:43
关于原因,请参见/usr/share/doc/pssh/README.Debian。
To avoid any conflicts with the putty package, all of the programs have been
renamed.
parallel-ssh is pssh
parallel-scp is pscp
parallel-rsync is prsync
parallel-nuke is pnuke
parallel-slurp is pslurp关于这个符号链接,一个稍微干净的解决方案是创建/usr/local/bin/pssh符号链接,并让它指向/usr/bin/pssh。除了/usr/local/外,通常最好将/usr/的内容留给包管理器。默认情况下,/usr/local/bin是PATH环境的一部分。
发布于 2012-04-05 15:32:39
尝试使用parallel-ssh,它已被重命名。
套餐说明:
The package contains:
.
- Parallel ssh (parallel-ssh, upstream calls it pssh), executes commands on
multiple hosts in parallel
- Parallel scp (parallel-scp, upstream calls it pscp), copies files to
multiple remote hosts in parallel
- Parallel rsync (parallel-rsync, upstream calls it prsync), efficiently
copies files to multiple hosts in parallel
- Parallel nuke (parallel-nuke, upstream calls it pnuke), kills processes on
multiple remote hosts in parallel
- Parallel slurp (parallel-slurp, upstream calls it pslurp), copies files
from multiple remote hosts to a central host in parallel
.
These tools are good for controlling large collections of nodes, where faster
alternatives such as gexec and pcp are not available.发布于 2012-04-05 15:36:18
有时,用于启动程序的命令的名称与您为获得所述程序而安装的包的名称不相同。
最近我安装了“Galious迷宫”来试一试,它没有出现在“游戏”菜单中,我花了几分钟才发现,要开始游戏,我必须去终端输入“mog”。/anecdote。
这可能是因为各种各样的原因,也许这个名字太长了(在我的轶事中)太长了,不能成为命令的合理名称,也许开发人员想要的名字已经被选择了,也许开发人员有大脑--蠕虫,只是想用一些完全随机的东西来惹你麻烦--为什么不值得担心,如果您想‘修复’它只是使用一个别名或sym/硬链接。
如果有那么多麻烦,您可以向上游提交更改请求,但如果开发人员选择了这个名称S/他可能有一个很好的理由。
https://askubuntu.com/questions/119232
复制相似问题