Android has built in shell interpreter. Unlike normal linux, android shell has limited support for features and system utilities. Also, shell scripts must use following header:
#!/system/bin/sh echo "Hello, World!!!"
Save this example as file with .sh extension and press button Build to execute.