档案:
root@hx:~/rippled/build# file rippled
rippled: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xb1afb32e01966d513ad400578185e1bea06fefb9, not stripped操作系统:
root@hx:~/rippled/build# uname -a
Linux hx 3.13.0-32-generic #57~precise1-Ubuntu SMP Tue Jul 15 03:51:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux然而:
root@hx:~/rippled/build# rippled
rippled: command not found我的问题是:我做错了什么?我怎么才能让它运行呢?
发布于 2014-10-12 04:09:04
要在当前文件夹中运行命令,必须在命令前面加上./,其中.的意思是“这个文件夹”,/的意思是“进入”。因此,在rippled/build文件夹的终端中,您可以键入./rippled来运行程序。./可以被认为是“当前文件夹”。其他命令在没有这个特定语法的情况下运行,因为它们位于您的系统“路径”中,而您的构建文件夹不是。
https://askubuntu.com/questions/536033
复制相似问题