开源终端Android Terminal Emulator

范飞翰
2023-12-01

开源终端Android Terminal Emulator

https://github.com/jackpal/Android-Terminal-Emulator/

http://code.google.com/p/androidterm/

Linux终端---Linux命令行窗口
人们通常利用软件把个人计算机仿真成一个终端与主机相连。现在几乎所有使用Linux的人都使用终端仿真方法。对于不使用X window的情况下,人们使用字符界面的终端(虚拟终端)。这通常也被称为命令行窗口。而在X window环境下,我们可以获得多个终端窗口,也有不少的终端仿真程序可以选用,例如xterm、rxvt或者zterm等。所有这些都是使用了仿真的方法来模拟一台真实的终端设备。

Android Terminal Emulator
Android Terminal Emulator is a terminal emulator for communicating with the built-in Android shell. Emulates a reasonably large subset of Digital Equipment Corporation VT-100 terminal codes, so that programs like "vi", "Emacs" and "NetHack" will display properly.
This code is based on the "Term" application which is included in the Android source code release.
The Android Terminal Emulator is a VT-100 compatible terminal emulator for Android devices.

Getting Android Terminal Emulator
Install from Google Play - for Android devices with access to the Google Play store.
https://play.google.com/store/apps/details?id=jackpal.androidterm
Download from GitHub - for devices without access to the Google Play store.
http://jackpal.github.com/Android-Terminal-Emulator/
jackpal.github.com/Android-Terminal-Emulator/downloads/Term.apk

What is a terminal emulator?
A terminal emulator is a program that makes your Android phone act like an old fashioned computer terminal. It is useful for accessing the Linux command line shell that is built into every Android phone. This lets you run various Linux command line utilities.
Android Shell Command Reference
I've written a brief, incomplete, guide to using the built-in Android shell: Android Shell Command Reference
https://github.com/jackpal/Andro ... l-Command-Reference

Does the Android Terminal Emulator allow me to "Root" or "Hack" my phone?
Sorry, no. The Android Terminal Emulator does not help you root or hack your phone.

Is the Android Terminal Emulator useful on an ordinary phone, that hasn't been rooted?
Yes! You can access the entire /sdcard file system, and you can install and run Linux command-line applications in the parts of the /data file system that are accessible to the Android Terminal Emulator process.
You can also run command-line programs that access the Internet.

Why do I get "permission denied" errors when I try to run commands in the terminal?
This message is being printed out by the Android shell. It means one of two things:
    It might simply mean that you have misspelled the command name, or are trying to use a command that is not installed on you device. The Android shell will print "permission denied" when it just can't find the command, instead of a more accurate error message like "command not found".
    It could mean that the command exists, but you don't have permission to run it. By default the Android Terminal Emulator runs using the permissions of the Android Terminal Emulator application. You may need to become "root" in order to gain permissions to run some commands. You can use the "su" command to do this. Of course, most consumer Android devices don't have root access enabled by default, so you may not be able to use the "su" command on your device.
 类似资料: