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

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. ...
19
votes
3answers
42k 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
2k 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
2k 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.
24
votes
4answers
85k 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 ...
8
votes
5answers
11k 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 ...