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.

-1
votes
1answer
38 views

android termux busybox do not let me run commands

Anyone knows why when I try to run a command on termux like nc busybox try to run the command instead netcat the same happens when i try to run tar busybox gets in the way ?
0
votes
0answers
25 views

Can't give storage permission to Termux

I am getting the following error when I type termux-setup-storage in termux CANNOT LINK EXECUTABLE "/system/bin/app_process": cannot locate symbol "__xlog_buf_printf" referenced by "/system/lib64/...
1
vote
0answers
21 views

Termux says file does not exist but it does

A while back I installed nano on Termux and it worked fine, but when I accidentally tried to copy a file into a nonexistant directory at nano's location, nano wouldn't run. I checked and the ...
0
votes
0answers
16 views

“Move” a socket installed in termux

To begin with, I know you can't move sockets (hence the quotes around "move"). What I am looking to do is remove the socket created by a package, and then recreate it again in a different location. ...
0
votes
1answer
48 views

Unable to install PyCrypto

I'm installing PyCrypto because it is a dependency of another package. The installation always ends in an error in Termux (pip install pycrypto): Command "/data/data/com.termux/files/usr/bin/python -...
-1
votes
1answer
29 views

How to take screenshot from terminal

I am writing a python script to process an image. I need to take automated screenshots. How can i do that with some kind of command ? No root acces. I am using termux and terminal emulator.
0
votes
1answer
211 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
26 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
247 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 ...
-1
votes
1answer
282 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
330 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
285 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
78 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
438 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 ...
1
vote
3answers
2k 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
41 views

I have half install metasploit in termux Due to net problem

But Now it show it is install.but command doesn't work
1
vote
2answers
2k 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
248 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
444 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
53 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
234 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
445 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
74 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
69 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
2k 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
255 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
4k 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
3k 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
317 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
125 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
3k 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
604 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
3k 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
6k 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
23k 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 ...
9
votes
2answers
28k 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 ...
16
votes
4answers
29k 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?