> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/andoid-shou-ji/termux/qu-de-dang-qian-de-shell-huan-jing.md).

# 取得當前的shell環境

echo $SHELL&#x20;

/data/data/com.termux/files/usr/bin/bash

測試shell程式

vim hello-termux.sh

```
#!/bin/bash
echo "Hello Termux!!!"
```
