Tagged Questions

The shell is a piece of software that provides an command-line interface to the operating system. Use this tag for shell-specific issues; general command-line issues should use the 'command-line' tag instead. See full tag wiki for other related tags.

learn more… | top users | synonyms

3
votes
1answer
2k views

How to access a linux shell from my phone via bluetooth?

Basically I want to send shell commands from my phone to my PC (Ubuntu 11.10) via bluetooth. Why? Because I don't always have WLAN and WLAN on my phone sucks. All possible solutions are welcome. I ...
3
votes
1answer
904 views

I want to execute shell commands on my pc from my android via USB

I have a linux box, without any network interface, only usb. I have my andorid phone, and the USB cable. I would like to connect from my android device to the linux box,and execute shell commands on ...
12
votes
4answers
28k views

How can I flush the DNS Cache?

How can I clear my DNS cache on my android phone? (Droid3, Gingerbread, rooted to be specific) Ideally I'm looking for a command to run through a terminal emulator, something similar to ipconfig ...
0
votes
1answer
139 views

My Optimus X2 was missing its custom android

While I was waiting for my new LJ Optimus X2 (P999) mobile I watched a couple of youtube reviews and it always came with extra features to android. But my phone is pretty much vanila android. Is it ...
14
votes
2answers
16k views

What useful Android Shell commands do you know? [closed]

There are questions pertaining to the use of the Android Shell or to finding a documentation of the Shell commands on Android. Since I haven't found anything convenient, I would like to use this ...
11
votes
1answer
3k views

Start an Android application via a shell script?

Is it possible to start an actual Android application from the command line in Android? For example, say I'd simply like to start/bring to the front my calendar. Is there a way that I can do this ...
5
votes
2answers
3k views

Read APK permission by shell command

I want to read the requested permissions of an .apk file on the computer (android sdk is installed) via command line. I.E.: $ android read-permissions /path/to/someapp.apk I know this is possible, ...
2
votes
3answers
2k views

How can I zip a folder into a zip file in Android to send over the Internet?

I have root, and I tried running the zip command from shell, but zip is not found. I think Android doesn't come with zip. How can I install zip on Android?
4
votes
3answers
3k views

Can I connect to a shell from a PC to my Android using bluetooth or USB?

I want to run some commands on my rooted android phone. It is not very practical to interact with a shell using the touch screen, therefore I wanted to run a daemon on it and connect to it from a PC. ...
20
votes
3answers
45k views

How can I run a script on boot?

I'm accustomed to running scripts on boot in Linux, but I'm not sure how to do this in Android. I'd like to start my SSH daemon on start, so I'll always be able to connect. How can I run an arbitrary ...
3
votes
2answers
4k views

Can i mount loopdevice in Android?

I have rooted my android phone and get a shell thr adb. I wanna mount a ROM image in android. But I always fail: mount -o loop /sdcard/myimage.img /mnt mount: can't setup loop device: No such file or ...
3
votes
2answers
3k views

How to mount a ext2 partition in sdcard

I don't want to use fat32, I want use the more stable ext2.
2
votes
2answers
6k views

How to delete the history and cache in Opera Mobile (10.1) via shell?

I run Opera Mobile 10.1 on Android. My device is rooted. How can I clear the history and cache of the browser via shell? As su, removing ...
9
votes
1answer
3k views

How is the default PATH set?

On another linux system I might expect to find a .profile file, or something in /etc used by default. I'm unable to determine what sets the system path for processes not running in a shell.
26
votes
4answers
96k views

Where in the file system are applications installed?

I have installed a few Android applications both with the adb install MyApplication.apk command and via a webserver (like an alternative to Android Market). But where in the Android file system on my ...
10
votes
5answers
12k views

Where can I find documentation for shell commands?

For using a shell commands through a terminal program, where can I find documentation or help or man pages for the commands as implemented in Android? While it would be nice to have them on the ...
18
votes
4answers
1k views

How can I use shell commands and interact with the Linux system underneath?

Android is based on Linux and has a Linux kernel underneath. Is there any way I can use shell commands and interact directly with the Linux system? E.g. A shell app that has access to the Linux ...