android - "adb shell ls"显示损坏的文件夹和文件名

标签 android linux shell

“adb shell ls”显示损坏的文件夹和文件名,如下所示。似乎断开的字符串是在标题前添加的,并附加在名称的尾部。

是什么原因造成的?

请注意,我正在运行安装在嵌入式 Linux 中的 adb。

===========below==========
C:\Users\user>adb shell ls
[1;34mbin[0m         [1;34mdev[0m         [1;34mlib[0m         [1;34mmnt

...

最佳答案

尝试运行
adb shell 命令 ls
阅读有关 command 的更多信息 here .
以上链接的相关文本:

Only shell builtin commands or commands found by searching the PATH are executed. If there is a shell function named ls, running `command ls' within the function will execute the external command ls instead of calling the function recursively.

关于android - "adb shell ls"显示损坏的文件夹和文件名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38473372/

相关文章:

android - MockLocationProvider.pushLocation 中的错误 android.os.SystemClock.elapsedRealtimeNanos

java - 如何从数组列表加载图像?

linux - Crontab 没有给出结果

linux - 如何在linux中停止 screen 进程?

linux - 用于清除 exim 队列和自己发送电子邮件的脚本,电子邮件中包含电子邮件和主题

linux - 如何以编程方式修改文件日期?

regex - grep 文件名[星号] 返回意外结果

java - Android 与 recyclerview 和 Collection 夹有关的问题

json - 在 bash 脚本中添加 JSON 元素

java - 尝试使用 ImageLoader 加载本地镜像时出现 NullPointerException