差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
android:termux [2020/07/06 13:05] – [PC 側から接続] ともやん | android:termux [2022/10/02 02:46] (現在) – [bash の alias 設定] ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
- | < | ||
- | < | ||
- | #result pre, #mincode pre { | ||
- | overflow: hidden; | ||
- | font-size: 10px; | ||
- | } | ||
- | # | ||
- | height: 250px; | ||
- | overflow: scroll; | ||
- | overflow-x: hidden; | ||
- | font-size: 10px; | ||
- | } | ||
- | #mintbl table { | ||
- | font-size: 12px; | ||
- | } | ||
- | .dokuwiki .plugin_wrap table { | ||
- | width: auto; | ||
- | } | ||
- | #logo { | ||
- | background-color: | ||
- | padding: 10px; | ||
- | width: fit-content; | ||
- | } | ||
- | #logo p { | ||
- | margin: 0; | ||
- | } | ||
- | </ | ||
- | </ | ||
====== Termux - Android用ターミナル & Linux環境 ====== | ====== Termux - Android用ターミナル & Linux環境 ====== | ||
本家: [[https:// | 本家: [[https:// | ||
行 59: | 行 31: | ||
</ | </ | ||
- | ===== ストレージ設定 ===== | + | ===== デバイスストレージのアクセス許可設定 ===== |
ホームディレクトリ **~/** は **/ | ホームディレクトリ **~/** は **/ | ||
<WRAP prewrap 100%> | <WRAP prewrap 100%> | ||
行 356: | 行 328: | ||
Fedora 風に bash の alias を設定する。 | Fedora 風に bash の alias を設定する。 | ||
<WRAP prewrap 100%> | <WRAP prewrap 100%> | ||
- | < | + | < |
$ vi ~/.bashrc | $ vi ~/.bashrc | ||
</ | </ | ||
</ | </ | ||
+ | <WRAP prewrap 100% # | ||
+ | <code bash ~/ | ||
+ | alias diff=' | ||
+ | alias egrep=' | ||
+ | alias fgrep=' | ||
+ | alias grep=' | ||
+ | alias l.='ls -d .* --color=auto' | ||
+ | alias ll='ls -l --color=auto' | ||
+ | alias ls='ls --color=auto' | ||
+ | alias xzegrep=' | ||
+ | alias xzfgrep=' | ||
+ | alias xzgrep=' | ||
+ | alias zegrep=' | ||
+ | alias zfgrep=' | ||
+ | alias zgrep=' | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | .bashrc を読み込んで設定を反映する。\\ | ||
<WRAP prewrap 100%> | <WRAP prewrap 100%> | ||
- | < | + | <code> |
+ | $ . ~/.bashrc | ||
+ | $ alias | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100% # | ||
+ | <code bash> | ||
+ | alias diff=' | ||
alias egrep=' | alias egrep=' | ||
alias fgrep=' | alias fgrep=' | ||
行 376: | 行 374: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ll を実行する。\\ | ||
+ | <WRAP prewrap 100%> | ||
+ | < | ||
+ | $ ll | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100% #result> | ||
+ | <code bash> | ||
+ | total 4 | ||
+ | drwx------ 2 u0_a205 u0_a205 4096 Jul 6 10:06 storage | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== gatling ===== | ||
+ | < | ||
+ | gatling/ | ||
+ | A high performance http, ftp and smb server | ||
+ | |||
+ | $ pkg install gatling | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree | ||
+ | Reading state information... Done | ||
+ | The following NEW packages will be installed: | ||
+ | gatling | ||
+ | 0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded. | ||
+ | Need to get 96.2 kB of archives. | ||
+ | After this operation, 418 kB of additional disk space will be used. | ||
+ | Get:1 https:// | ||
+ | Fetched 96.2 kB in 2s (35.7 kB/s) | ||
+ | Selecting previously unselected package gatling. | ||
+ | (Reading database ... 5637 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking gatling (0.15) ... | ||
+ | Setting up gatling (0.15) ... | ||
+ | </ | ||
+ | |||
+ | ===== 参考文献 ===== | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||