I can run "echo aha" --> "aha"
"uname" --> "Linux"
"ps" --> "... info about one process ..."
"tail --version" --> "toybox 0.8.0-android"
"tail --help" --> "... -n ... -c ... -f ..."
"ls" --> "" // EMPTY
"ls /" --> "" // EMPTY
"ls /system/" --> "... whole bunch of directories including bin ..."
"ls /system/bin/" --> "" // EMPTY
(I figure I am getting no output (EMPTY) in some cases due to permissions/file ownership.)
I would really like to run "tail -f ..." but there are no events to get the output as it is appended to the file. No worries, I think I can use "tail -n ..." to get the last few lines, compare the result to previous result and see what changed. If I can do this fast enought, it should work, So this is my current working plan... but I am running into trouble specifying the correct file path. My file is located in AppInventor/Data, let's call in tailme.txt
I need to run "tail -n 4 [some path]/tailme.txt" but I can't figure out the path to AppInventor/data location. Any idea?