Hello,
how does one open/stream/pipe files into (termux) scripts?
I did not find any good tutorials for the shell function within totalcommander.
open with shell, termux
Moderators: Hacker, petermad, Stefan2, white
Re: open with shell, termux
Don't know what exact command you want.
Here,I just list one for indication:
command usually using "su", if "sh" not work.
parameters:
settings put global auto_time 0 (these starting with "settings" do the android settings' work for fast and access to some "secret" settings)
am start -n com.termux/com.termux.app.TermuxActivity
sleep 1 (if you are execute input text command,I recommend you add this one to avoid input failure)
input text 'XXXXXX' (XXXXXX is the command line you manually want to type)
input keyevent 66 (this = you hit the button "enter")
am startservice -n com.termux/com.termux.app.TermuxService -a com.termux.service_execute -d /data/data/com.termux/files/usr/tmp/XXXXXX (this one is doing linux like program or service)
Here,I just list one for indication:
command usually using "su", if "sh" not work.
parameters:
settings put global auto_time 0 (these starting with "settings" do the android settings' work for fast and access to some "secret" settings)
am start -n com.termux/com.termux.app.TermuxActivity
sleep 1 (if you are execute input text command,I recommend you add this one to avoid input failure)
input text 'XXXXXX' (XXXXXX is the command line you manually want to type)
input keyevent 66 (this = you hit the button "enter")
am startservice -n com.termux/com.termux.app.TermuxService -a com.termux.service_execute -d /data/data/com.termux/files/usr/tmp/XXXXXX (this one is doing linux like program or service)