android:termux

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
android:termux [2020/07/06 12:01] – [インストール] ともやんandroid:termux [2022/10/02 02:46] (現在) – [bash の alias 設定] ともやん
行 1: 行 1:
-<html> 
-  <style> 
-    #result pre, #mincode pre { 
-      overflow: hidden; 
-      font-size: 10px; 
-    } 
-    #result_long pre, #mincode_long pre  { 
-      height: 250px; 
-      overflow: scroll; 
-      overflow-x: hidden; 
-      font-size: 10px; 
-    } 
-    #mintbl table { 
-      font-size: 12px; 
-    } 
-    .dokuwiki .plugin_wrap table { 
-      width: auto; 
-    } 
-    #logo { 
-      background-color: white; 
-      padding: 10px; 
-      width: fit-content; 
-    } 
-    #logo p { 
-      margin: 0; 
-    } 
-  </style> 
-</html> 
 ====== Termux - Android用ターミナル & Linux環境 ====== ====== Termux - Android用ターミナル & Linux環境 ======
 本家: [[https://termux.com/|Termux]]\\ 本家: [[https://termux.com/|Termux]]\\
行 59: 行 31:
 </WRAP> </WRAP>
  
-===== ストレージ設定 =====+===== デバイスストレージのアクセス許可設定 =====
 ホームディレクトリ **~/** は **/data/data/com.termux/files/home** である。\\ ホームディレクトリ **~/** は **/data/data/com.termux/files/home** である。\\
 <WRAP prewrap 100%> <WRAP prewrap 100%>
行 352: 行 324:
 </code> </code>
 </WRAP> </WRAP>
 +
 +===== bash の alias 設定 =====
 +Fedora 風に bash の alias を設定する。
 +<WRAP prewrap 100%>
 +<code bash>
 +$ vi ~/.bashrc
 +</code>
 +</WRAP>
 +<WRAP prewrap 100% #mincode>
 +<code bash ~/.bashrc>
 +alias diff='diff --color=auto'
 +alias egrep='egrep --color=auto'
 +alias fgrep='fgrep --color=auto'
 +alias grep='grep --color=auto'
 +alias l.='ls -d .* --color=auto'
 +alias ll='ls -l --color=auto'
 +alias ls='ls --color=auto'
 +alias xzegrep='xzegrep --color=auto'
 +alias xzfgrep='xzfgrep --color=auto'
 +alias xzgrep='xzgrep --color=auto'
 +alias zegrep='zegrep --color=auto'
 +alias zfgrep='zfgrep --color=auto'
 +alias zgrep='zgrep --color=auto'
 +</code>
 +</WRAP>
 +
 +.bashrc を読み込んで設定を反映する。\\
 +<WRAP prewrap 100%>
 +<code>
 +$ . ~/.bashrc
 +$ alias
 +</code>
 +</WRAP>
 +<WRAP prewrap 100% #result>
 +<code bash>
 +alias diff='diff --color=auto'
 +alias egrep='egrep --color=auto'
 +alias fgrep='fgrep --color=auto'
 +alias grep='grep --color=auto'
 +alias l.='ls -d .* --color=auto'
 +alias ll='ls -l --color=auto'
 +alias ls='ls --color=auto'
 +alias xzegrep='xzegrep --color=auto'
 +alias xzfgrep='xzfgrep --color=auto'
 +alias xzgrep='xzgrep --color=auto'
 +alias zegrep='zegrep --color=auto'
 +alias zfgrep='zfgrep --color=auto'
 +alias zgrep='zgrep --color=auto'
 +</code>
 +</WRAP>
 +
 +ll を実行する。\\
 +<WRAP prewrap 100%>
 +<code>
 +$ ll 
 +</code>
 +</WRAP>
 +<WRAP prewrap 100% #result>
 +<code bash>
 +total 4
 +drwx------ 2 u0_a205 u0_a205 4096 Jul  6 10:06 storage
 +</code>
 +</WRAP>
 +
 +===== gatling =====
 +<code>
 +gatling/stable 0.15 aarch64
 +  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://dl.bintray.com/termux/termux-packages-24 stable/main aarch64 gatling aarch64 0.15 [96.2 kB]
 +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 .../gatling_0.15_aarch64.deb ...
 +Unpacking gatling (0.15) ...
 +Setting up gatling (0.15) ...
 +</code>
 +
 +===== 参考文献 =====
 +[[https://wlog.flatlib.jp/item/1870|ホイール欲しい ハンドル欲しい » Android Termux で日本語入力を行う / UserLAnd との併用]]\\
 +[[https://www.fefe.de/gatling/|gatling - a high performance web server]]\\
 +[[https://github.com/termux/termux-packages/issues/334|Termux-api not working? · Issue #334 · termux/termux-packages · GitHub]]\\
  
  • android/termux.1594004463.txt.gz
  • 最終更新: 2020/07/06 12:01
  • by ともやん