我怎样才能得到关于Android中壳可用的命令外壳信息? [英] How can I get information from the shell about commands available in Android shell?

查看:100
本文介绍了我怎样才能得到关于Android中壳可用的命令外壳信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法找到如何打印出的文档在Android shell命令,同时在外壳的信息。沿着

东西线

 帮助LS


解决方案

该命令的帮助得到了剥离的大部分(如果不是全部)命令行工具。

我可以告诉你的唯一的事情就是如何了解所有工具或更好的,你可以找到源头,看看他们的每一个code的功能。

在这里,你可以找到在Android中使用的命令行工具。 <一href=\"http://android.git.kernel.org/?p=platform/system/core.git;a=tree;f=toolbox;h=30394bfdfb6275e8bdd79f57503561f2467d3b9e;hb=HEAD\">Git源代码浏览器:系统/核心/工具箱

现在看ls命令的code,我可以告诉你,例如它支持下列开关。


  • -l一长串

  • -s列表大小

  • -R递归名单

  • -d列出目录

  • -a列表中的所有

您可以尝试找到你需要的命令的源$ C ​​$ C的信息。

希望它帮助。

Can't find information on how to print out documentation on android shell commands while in the shell. Something along the lines of

help ls

解决方案

The command help got stripped for most (if not all) commandline tools.

The only thing I can tell you is how to find out about the functionality of all the tools or better where you can find the sources and look at each of their code.

Here you can find the commandline tools used in Android. Git source browser: system/core/toolbox

Now looking at the code of the ls command I can tell you for example that it supports following switches.

  • -l long list
  • -s list sizes
  • -R list recursively
  • -d list directories
  • -a list all

You can try to find that information in the source code of the commands you need.

Hope it helped.

这篇关于我怎样才能得到关于Android中壳可用的命令外壳信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆