<HTML>/ $ Terminal_

by Ricardo Fernández Serrata

Version 32 (October 12, 2020)

Download (58 downloads)

An Android Command-Line-Interface Shell HyperTextMarkupLanguage Terminal-Emulator. Uses Automate's Web Dialog as HTML Term-Em to communicate 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 ≠ 0) and Working Directory. If WD contains a substring equal to {storage("primary")} (Home Directory), it will be shown as "~" (similar to Linux terminals). The web-dialog terminal-window also auto-detects ⚫Dark🌙(night) and ⚪Light☀️(day) modes and sets its theme accordingly.


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

MirBSD Korn Shell full official documentation: www.mirbsd.org/mksh.htm

Available 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). For example, if the user grants storage access, Automate (and this terminal) will be allowed to read contents of user storage via Shell.

Each time text is inputted, a new Shell session starts, that's why the Shell doesn't "remember" previous stdins, except when used inside scripts and/or 1-liner multi-commands.

"sh" command can be used to run script files and exit interactive mode during the execution of the script.

Semicolon symbol (";" without quotes) can be used as a command delimiter to execute multiple commands in sequence in just 1 line (without running a script)

If a Linux Prompt prints "#", means SU. If it prints "$", means normal user. (This flow wasn't tested/debugged using root, thus is rootless)

Future changelog: 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.