/ $ Terminal_

by Ricardo Fernández Serrata

Version 43 (April 11, 2021)

Download (115 downloads)

An Android Command-Line-Interface Shell Terminal-Emulator. Uses Automate's Web Dialog as HTML terminal-window and communicates with the ACLI Shell (MKSH, nowadays). Made to be as similar as possible to an ADB Interactive Shell in a terminal window.

It has a prompt that prints Exit Code (only if it's truthy) and Working Directory. If WD contains a substring equal to Home, it will be shown as "~" (like most Linux terminals). The flow auto-detects ⚫Dark🌙(night) and ⚪Light☀️(day) modes and sets window theme accordingly.

If someone can, please make a crossover between this flow and llamalab.com/automate/community/flows/27224 . The result would be the ultimate Automate Terminal.

➕ℹ
MirBSD Korn Shell Manual: www.mirbsd.org/htman/i386/man1/mksh.htm

List of installed executable files and symlink binaries for each Android version: chromium.googlesource.com/aosp/platform/system/core/+/refs/heads/upstream/shell_and_utilities

developer.android.com/studio/command-line/adb#shellcommands

en.wikipedia.org/wiki/Computer_terminal

en.wikipedia.org/wiki/Terminal_emulator

en.wikipedia.org/wiki/Shell_(computing%29

en.wikipedia.org/wiki/Command-line_interface

If a user grants more privileges to Automate, they will be allowed to do more things (even if the flow doesn't request those privileges). If the user grants storage access, Automate (and this terminal) will be allowed to read/write contents of user storage via Shell.

Each time AM sends text to the shell, a new shell session starts, that's why the shell doesn't "remember" previous cmds (except "cd", because of this terminal), except when used inside scripts AND/OR 1-liner multi-cmds.

"sh" cmd can be used to run script files even if execution permission is disabled, and exit interactive shell during the execution of the script.

Semicolon symbol (";" without quotes) is one of the cmd delimiters (used to execute multiple cmds in sequence in just 1 line without running a script)

Future: Terminal-side support for "alias" command

4.0 average rating from 1 reviews

5 stars
0
4 stars
1
3 stars
0
2 stars
0
1 star
0
Reports
0

Reviews and ratings can be submitted in the app.