Linux 极客的 Android：将你的 Android 设备变成 Linux 命令行界面
Android
![](/data/attachment/album/201705/22/164759ciyitpt3p9jpi39q.jpg)


不管你是一位命令行大师，还是只是不想让你的朋友和家人使用你的 Android 设备，那就看下 T-UI Launcher 这个程序。Unix/Linux 用户一定会喜欢这个。


T-UI Launcher 是一个免费的轻量级 Android 程序，具有类似 Linux 的命令行界面，它可将你的普通 Android 设备变成一个完整的命令行界面。对于喜欢使用基于文本的界面的人来说，这是一个简单、快速、智能的启动器。


#### T-UI Launcher 功能


下面是一些重要的功能：


* 第一次启动后展示快速使用指南。
* 快速且可完全定制。
* 提供自动补全菜单及快速、强大的别名系统。
* 此外，提供预测建议，并提供有用的搜索功能。


它是免费的，你可以从 Google Play 商店[下载并安装它](https://play.google.com/store/apps/details?id=ohi.andre.consolelauncher)，接着在 Android 设备中运行。


安装完成后，第一次启动时你会看到一个快速指南。阅读完成之后，你可以如下面那样使用简单的命令开始使用了。


![T-UI Commandline Help Guide](/data/attachment/album/201705/22/164806v2y3d1byd1yzz3dz.jpg)


*T-UI 命令行帮助指南*


要启动一个 app，只要输入几个字母，自动补全功能会在屏幕中展示可用的 app。接着点击你想打开的程序。



```
$ Telegram   ### 启动 telegram
$ WhatsApp   ### 启动 whatsapp
$ Chrome     ### 启动 chrome

```

![T-UI Commandline Usage](/data/attachment/album/201705/22/164807nzwzwz5oabw7ju5a.jpg)


*T-UI 命令行使用*


要浏览你的 Android 设备状态（电池电量、wifi、移动数据），输入：



```
$ status

```

![Android Phone Status](/data/attachment/album/201705/22/164807ujonxg2gcd9oh9cz.jpg)


*Android 电话状态*


其它的有用命令。



```
$ uninstall telegram                ### 卸载 telegram 
$ search [google, playstore, youtube, files]    ### 搜索在线应用或本地文件
$ wifi                      ### 打开或关闭 WIFI
$ cp Downloads/* Music              ### 从 Download 文件夹复制所有文件到 Music 文件夹
$ mv Downloads/* Music              ### 从 Download 文件夹移动所有文件到 Music 文件夹 

```

就是这样了！在本篇中，我们展示了一个带有类似 Linux CLI（命令界面）的简单而有用的 Android 程序，它可以将你的常规 Android 设备变成一个完整的命令行界面。尝试一下并在下面的评论栏分享你的想法。




---


作者简介：


Aaron Kili 是 Linux 和 F.O.S.S 爱好者，将来的 Linux 系统管理员和网络开发人员，目前是 TecMint 的内容创作者，他喜欢用电脑工作，并坚信分享知识。




---


via: <https://www.tecmint.com/t-ui-launcher-turns-android-device-into-linux-cli/>


作者：[Aaron Kili](https://www.tecmint.com/author/aaronkili/) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
Are you a command line guru, or do you simply want to make your Android device unusable for friends and family, then check out T-UI Launcher app. Unix/Linux users will definitely love this.

**T-UI Launcher** is a free lightweight Android app with a Linux-like CLI (Command Line Interface) that turns your regular Android device into a complete command line interface. It is a simple, quick and smart launcher for those who love to work with text-based interfaces.

#### T-UI Launcher Features

Below are some of its notable features:

- Shows quick usage guide after the first launch.
- It’s fast and fully customizable.
- Offers to autocomplete menu with fast, powerful alias system.
- Also, provides predictive suggestions and offers a serviceable search function.

It is free, and you can [download and install](https://play.google.com/store/apps/details?id=ohi.andre.consolelauncher) it from Google Play Store, then run it on your Android device.

Once you have installed it, you’ll be shown a quick usage guide when you first launch it. After reading the guide, you can start using it with simple commands as the ones explained below.

![T-UI Commandline Help Guide](https://www.tecmint.com/wp-content/uploads/2017/05/T-UI-Commandline-Help.jpg)

To launch an app, simply type the first few letter in its name and the auto completion functionality will show all the available apps on the screen. Then click on the one you want to open.

$ Telegram #launch telegram $ WhatsApp #launch whatsapp $ Chrome #launch chrome

![T-UI Commandline Usage](https://www.tecmint.com/wp-content/uploads/2017/05/T-UI-Commandline-Usage.jpg)

To view your Android device status (battery charge, wifi, mobile data), type.

$ status

![Android Phone Status](https://www.tecmint.com/wp-content/uploads/2017/05/T-UI-Commandline-Status.jpg)

Other useful commands you can use.

$ uninstall telegram #uninstall telegram $ search [google, playstore, youtube, files] #search online apps or for a local file $ wifi #turn wifi on or off $ cp Downloads/* Music #copy all files from Download folder to Music $ mv Downloads/* Music #move all files from Download folder to Music

That’s all! In this article, we reviewed simple yet useful Android app with a Linux-like CLI (Command Line Interface) that turns your regular Android device into a complete command line interface. Give it a try and share your thoughts with us via the comment section below.

Great tool!

Can it be used with regular Linux commands like pwd, grep, find etc?

Reply@Bernhard

Not all command can work, a number of them can be used. Type the command below to see all available commands and their descriptions:

Reply$help

@Benhard with the latest update you get all the juice of a Linux power user. All command your concerned with are working and also the live notification is another great add to the tools.

Reply@STANLEE

Many thanks for the useful info, we’ll check out the lastest update of T-UI.

Reply@Aaron Kili

already joined the addict party and using t-UI launcher full-time now. Keep posting such awesome review for apps.

Reply@Stanlee

Thanks for the kind words of encouragement, we’ll always continue to bring you the best Linux related apps out there.

ReplyGot a typo at the end of example “trun WiFi on” think you meant turn WiFi on. The article was amazing and i love reading your article thanks.

ReplyOh, many thanks for the heads up. We will correct this as soon as possible.

Reply@Stanlee,

Corrected in the writeup.Thanks

ReplyVery impressive for a launcher, I loved how responsive and fast it is with autocomplete and intelliSence. It would be the perfect launcher if they add more shell command i.e ping or customization menu for adding commands and alias.

Reply@Stanlee

It’s really cool, i’ve used it ever since i installed i, the auto-completion features does the magic(i mean makes things so easy). And as you have mentioned, more shell commands need to be added to make it an absolutely Linux-like CLI.

Thanks for the feedback.

Reply