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.

68 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
333 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
4k 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 ...
0
votes
0answers
729 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
102 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
597 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
486 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
865 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
344 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
729 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
540 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
857 views

How do I create an archive for easy extraction to /data/local/tmp/ in “adb shell”?

Usual shar archives fail to extact in adb shell due to problems with lock directory and temporary files for HERE documents. Zip archives are also not an option. How do I make an archive that can be ...
0
votes
1answer
198 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 ...
0
votes
0answers
175 views

netcat listening on nexus 4 doesn't seem to respond

I have a Nexus 4 on my wifi network along with a laptop. I would like to establish a connection using netcat from my laptop to my phone. On my phone, I can run uname -a | nc <LAPTOP IP> <...
0
votes
1answer
523 views

Can I run a Linux executable on Android?

I wondered if it is possible to run a Linux executable on Android so I made a simple console application in Code::Blocks in C++ (I am using Ubuntu Linux), built it in release mode and copied it into a ...
-2
votes
2answers
624 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....