Run shellscript on an android mobile

Asked

Viewed 4,745 times

6

Does anyone know if there is a default app that reads shellscript on android mobile? Has anyone ever tried something like?

  • I don’t know a default app, but I believe you should be able to send a script to your phone and run through ADK. If everything else, have apps in Google Play! for this. I found this: https://play.google.com/store/apps/details?id=os.tools.scriptmanager

  • Adding an apk that does this does not help me, this because I have 36 apk’s to be installed on 400 tablet’s (not via google play). Soon I’m trying to find a way to automate package copy and install apk via script Vlw

  • Your problem is about installing apk’s in batch or executing arbitrary scripts? Beware to search ask about your problem, not about your solution attempt. Recommended reading: XY problem

1 answer

0

From what I understand, what you want is to run reading shell script files on android and this you can do as if it were on your pc. You can write all the routine you want in the script and then run it, ex:

$ sh ./seu_script.sh

To know the bash path use

$ find / -name "bash"

or

$ which bash

Browser other questions tagged

You are not signed in. Login or sign up in order to post.