Questions tagged [command-line]

A "command line" is a text interface to enter commands interactively. In our context, it usually means a "Unix Shell" in a terminal app, or the ADB shell on a computer to interact with an Android device.

70 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
554 views

How to run GNU utilities without root?

Is there any way to use GNU utilities like GNU's sed, find, bash, and awk WITHOUT root? Android's utilities that are provided by toolbox and the BusyBox applets provided by one particular application ...
0
votes
0answers
292 views

Running commands operating on files always results in permission denied errors

When I try executing commands operating on files, they always fail. I can't check permissions on the terminal because I'd have to run a command that operates on a file (directory) in order to do so. ...
0
votes
1answer
4k views

How to test internet speed using terminal emulator on Android

I have Termux app installed on my Android phone. Is there a speed test tool that I can install and use from the command line? I have tried speedtest-cli, installed it by: pip install speedtest-cli ...
0
votes
0answers
184 views

Viewing the GPS-location of an Android Device?

So at the moment I'm looking for a way to show the live position of an android device. Mainly for a way to let the device send it's current GPS-position. All apps I've been looking at only allow to ...
0
votes
0answers
198 views

In Ubuntu Desktop my Arduino Uno shows up as /dev/ttyACM0 … where is it in android?

When I connect an Arduino Uno via USB to my Linux Ubuntu Desktop 14.04, the arduino shows up as /dev/ttyACM0 .... When I connect it via usb to an android phone the device is powered and recognized in ...
0
votes
1answer
353 views

How to enable server in hotspot?

I got the error while trying this on command line interface root@sabresd_6dq:/ # hostapd_cli wps_pbc Failed to connect to hostapd - wpa_ctrl_open: No such file or directory How to solve this?
0
votes
1answer
5k views

Termux - help installing a package

I am trying to install TeX Live 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 ...
0
votes
0answers
753 views

Making executable files in GNURoot

I have recently installed GNURoot Debian and I really enjoy having Bash on my phone and access to the vast repository for various other GNU/Linux programs. But when I tried downloading a package ...
0
votes
0answers
155 views

Eject SD card via ADB

Is it possible to emulate physical eject/cut power supply for SD card in Android via ADB terminal? What I'm looking for is something similar to the functionality achieved on GNU/Linux for USB devices ...
0
votes
1answer
52 views

How can I list all files in a directory with timestamps (in a touch compatible format) on Android

For starters, I am on a Nexus 5, on Android 6.0.1 and I am rooted. Normally, I'd just do this find /path -maxdepth 1 -type f -printf '%TY%Tm%Td%TH%TM%Ts %p\n' However, it appears that busybox, ...
0
votes
2answers
761 views

sending AT command with NCK code unlock sim?

I need information. How can I send the NCK unlock code network using AT commands? Or is there any other ways?
0
votes
0answers
549 views

Ffmpeg on non-rooted Android?

I've set several places where I can get a ffmpeg binary for Android, but I cannot seem to run it. I use the . command to run shell scripts, but not ffmpeg. Is there any way at all I can run ffmpeg ...
0
votes
0answers
888 views

How to access GNURoot Debian executables from outside the app?

I've just setup GNURoot Debian and I could install Python 2.7. However, I'd like to run Python 2.7 outside of the GNURoot Debian Terminal Window. For example, if I ssh into the device, I'd like to be ...
0
votes
1answer
451 views

SD card root access

Hey I just wanted to ask how it is possible to access my sdcard data with command lines on a rooted phone ? I tried to ls in /sdcard, also in /mnt/sdcard/ but my files are never displayed, yet a ...
0
votes
0answers
4k views

Using the Cerberus shell to input commands

I'd like to use the Cerberus shell to input commands like taps, swipes, and text. I know how to do it using the command line and ADB shell, but I don't have USB debugging enabled on my Nexus6, so I'm ...
0
votes
0answers
778 views

How can I install e2fsprogs on my device?

My phone has the "Monkey Test" virus and there is solution in here, but when I try to execute this command: chattr -iaA providerCertificate.apk I receive the error "chattr : not found". I found a ...
0
votes
1answer
549 views

DNSCrypt error: could not load library “libsodium.so”, on Asus Zenfone 2 running Android 5.0

I tried installing DNSCrypt on my Asus Zenfone 2 device. But when I try to run it it gives me this: root@Z008_1:/ # dnscrypt enable Enabling dnscrypt... iptables: No chain/target/match by that name. ...
0
votes
1answer
205 views

Sending linux commands over serial

I have a question about being able to send Linux commands over a serial connection to an Android device. I have heard of putty and tried to use it, but i am ultimately lost with it. Like if I was in ...
0
votes
0answers
1k views

Pull or backup only the contacts from Android

My phone is on a bootloope _ soft bricked. I have managed to detect it via adb on recovery mode. So now I want to know the exact command to pull contacts first from the phone to my pc. Is this ...
-2
votes
2answers
724 views

android command line shell

I have a Nokia X running Android 4.4.4 and I have Terminal Emulator and Busybox 1.24 installed but I can't still find some useful commands to perform several operations with the command line interface....

1
2