My same BASH script is working in Fedora/CentOS.
But I am testing one Android eee pad transformer
.
You can install Busybox, which provides you with many utilities such as awk, file, etc... and Terminal Emulator.
#!/system/bin/sh
as the first line (shebang)/system/xbin
or /system/bin
and run it from the Terminal EmulatorThe information is an excerpt from this article : HOW TO RUN SHELL SCRIPTS ON ANDROID DEVICES