How can I run Linux commands on an Android device?

前端 未结 6 1924
既然无缘
既然无缘 2020-12-15 10:44

On some Android devices, in the ADB shell, I can only run echo, cd, ls. When I run:

tar -cvf //mnt/sdcard/BackUp1669/a         


        
6条回答
  •  情书的邮戳
    2020-12-15 11:07

    You can run Linux commands on Android. But there are usually just very few pre-installed. If you want to add more commands you might want to root your device and install busybox on it.

    This is not for productive use within an application but can help you to work with your device.

提交回复
热议问题