Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Termux is a powerful shell environment for Android.

0
votes
1answer
32 views

Termux was unable to install the bootstrap packages

After doing some research, it mention that the bootstrap in this url (http://termux.net/bootstrap/) must be download and install before one can use Termux. So, how do I install the bootstrap? or do I ...
0
votes
0answers
17 views

Termux and nano editor permission problem

I can read and write files using nano on termux, but get "Cannot open drectory : Permission denied" when doing ^R^T or ^O^T ie requesting a list of filenames to read from or write to.
0
votes
1answer
76 views

How do I view root ( / ) with Termux if termux-storage-storage doesn't help?

After reviewing this: https://termux.com/storage.html I used termux-storage-storage on my phone and Andy Android emulator. After running the above command, I am able to view root directory with ls ...
-2
votes
1answer
163 views

Immersive mode in Termux?

How can I enable immersive/fullscreen mode in Termux? I want to hide the bars at the top and bottom of the screen so that the entire screen displays the terminal. In summary, I'm looking for either ...
0
votes
1answer
125 views

Can I install packages to external SD card on Termux in Android?

I am using Termux in my Android device and it is awesome. I've installed it from Google Play. Now the packages that I install using the command pkg install ..., install those to the internal storage. ...
0
votes
1answer
180 views

Termux trying youtube-dl with aria2

I'm newbie and experimenting,like the title said i wanted to use youtube-dl with aria2 So this is my youtube-dl config --cache-dir /sdcard/Download --all-subs --external-downloader "aria2c" --...
0
votes
1answer
55 views

Termux print to txt

So i use termux and newbie,i want to save -help command from package as txt in internal storage with specific file name Ex:youtube-dl --help,aria2c -h,etc How to do that?
0
votes
2answers
240 views

Unable to install express ( of node.js) in Android termux using sdcard0 as directory

I'm unable to install express in Android termux. I have latest nodejs installed. It is working perfectly when I use Private storage but I'm using cd /storage/sdcard0/NodeJS/Test/ and getting ...
0
votes
2answers
549 views

How to type “Control” on Termux?

There is a good App "Termux" which can provide a powerful shell environment without gain root permission. However, the touch-screen keyboard doesn't include "Control" and "Alt" button. But some ...
0
votes
0answers
34 views

I have half install metasploit in termux Due to net problem

But Now it show it is install.but command doesn't work
0
votes
2answers
1k views

How to use tmux copy / paste in Termux?

I installed Termux and using the pkg system installed tmux. However, the tmux that installs doesn't appear to support copying and pasting. I can enter copy mode, but I can't select text and copy ...
0
votes
1answer
188 views

When I'm trying to run “xterm” in termux, it says failed to open display : :0. Why so?

I'm running xserver xsdl. Then tried running xterm in it after export DISPLAY=:0 . If I do export DISPLAY=10.94.XXX.XXX:1 , xterm runs fine. I tried to debug it using strace. This is the line, which ...
0
votes
1answer
351 views

Termux - Cannot run python file in tasker

I am trying to run a python file in termux for use in tasker. The termux tasker plugin requires an executable (you can't just run a command like "python something.py"). However, running chmod +x ...
6
votes
2answers
1k views

Treble: How do I check if it is enabled on my device?

Title says it all By way of background Project Treble was announced with release of Oreo to speed up OS updates by reducing OEM delay . Devices running Oreo out of the box are expected to have it , ...
0
votes
1answer
48 views

Case statements in termux

I tried this and failed. Does case statements exist in termux? #!/data/data/com.termux/files/usr/bin/bash case in "$1" start) echo 'var1' ;; stop) echo '...
1
vote
1answer
154 views

Create shared folder on sdcard

Is there any way to create a directory on an external sdcard that has read/write access for multiple apps. For example I want to us synththing or rsync under termux be able to sync this directory to ...
1
vote
0answers
397 views

Tasker to programmatically uninstall apps

I would like to setup a tasker profile to check every predetermined time for any apps not on my approved list (BaselineApps.txt) and uninstall them. I am a noob to shell scripting and tasker. This is ...
0
votes
1answer
70 views

Empty variables in termux' bash

I want to perform a test: if a certain variable exists, is non-empty, and its value matches an existing directory, then "exists" should be typed. I did the following: $ echo $var $ if [ -d $var ]; ...
0
votes
1answer
68 views

Is there /etc/shadows in android termux?

I tried the following: $ pwd /system/etc $ ls | grep 'shadow' But nothing was found.
2
votes
3answers
1k views

Path for bash in Android termux

Regular paths for bash do not work in termux app. I tried: /usr/bin/bash and /bin/bash Also 'whereis' command gives the following output: $ whereis bash bash: /data/data/com.termux/files/usr/...
1
vote
1answer
51 views

Android Box crash, how to restore /data files

I have an Android box that has the app Termux (command line app) and in there I have some node apps made by me that are important. I have screw up my Android by modifying the /system/etc/permissions/...
1
vote
0answers
227 views

my browser cannot visit localhost after installing apache2 on termux

my android browser cannot visit localhost after installing apache2 on termux. How do i access the server by visiting localhost? I hage tried restarting the phone but no change
3
votes
2answers
3k views

Termux write to SD card

Android 5 Termux 0.54 Not rooted, no wish to $ pwd /storage/sdcard1 $ id uid=10096(u0_a96) gid=10096(u0_a96) groups=1015(sdcard_rw),1028(sdcard_r),3003(inet),9997(everybody),50096(all_a96) $ ls -l ...
2
votes
0answers
2k views

Adb commands from Termux

Is it possible to run adb and fastboot commands using Termux terminal emulator? I am wanting to run commands from one Huawei T3 7 to another using usb/otg cable. Need to unlock bootloader but have no ...
1
vote
1answer
280 views

Moving default folder Termux with content to downloads in Android 7

This is what I need; Termux - How do I create a directory of files accessible outside of Termux? I have my Tiddlywiki running on node.js in Termux. My problem is that Termux stores all files in the ...
2
votes
0answers
113 views

Prevent apps from being suspended

I run sshd in a Termux window as my main means of accessing files on my Galaxy S7. This works fairly well, except that I seem to have to re-run sshd rather frequently. I suspect that this is because ...
3
votes
3answers
2k views

Use GCC compiler in Termux?

I don't like the default C compiler clang provided by Termux. Is there a way I can get GNU GCC in my Termux environment?
0
votes
2answers
511 views

Using php module from termux as root?

I'm writing a anti-thief on a clean shell using termux. I turned on the backlight with the volume buttons and I want to send photos of "thief" to myself in correspondence in the social network ...
3
votes
2answers
2k views

which termux package provides the “mount” command?

i try to install "mount" with apt, but i can't locate it, or a package that contains "mount". i've tried: just to run mount: no command 'mount' found apt update && apt upgrade apt ...
0
votes
1answer
2k views

termux - help installing a package

I am trying to install texlive using termux. It's in the package manager, but unfortunately the package has some faulty instructions. Specifically, the package calls wget with a faulty option. if ...
3
votes
2answers
5k views

Wget using Termux download directory

I just installed Wget using Termux on my Android. But, when I download a file, I cannot find it's location. Can anyone please tell me where it's located? And how can I change that location to my ...
5
votes
3answers
19k views

I'd like to run Termux as root: possible?

I'd like to have an SSH, HTTP and SMB server on standard ports on my phone. There's a way to run Termux as root and have the servers run on privileged ports? Running rooted Android 7.1 on an ...
8
votes
2answers
24k views

Termux - How do I create a directory of files accessible outside of Termux?

I discovered that the files and directory that are created in (default) Termux, are not accessible to other apps on non-rooted phones. Where is the folder that Termux defaults to? How do I set it ...
15
votes
4answers
24k views

Where is the folder that Termux defaults to?

The Termux app is a terminal emulator. If I create a file or a folder there, and then use another file explorer app to browse my device, where can I find these files?