amphibient
amphibient

Reputation: 31230

Linux CLI into Android

I was wondering if it is possible to terminal into my Android (Razr) and navigate the file system and processes like you would on any other Linux distribution. As it is supposed to be built on top of the Linux Kernel.

I find it annoying that you simply can't shut down most apps, like Firefox for example, from the phone's default UI, I wish there would be a way to find the process ID and kill it like you would on a regular Linux/Unix machine.

Upvotes: 0

Views: 166

Answers (3)

itsbruce
itsbruce

Reputation: 4843

I use the connectbot app; it's primarily useful as an ssh client but also allows you to run a local terminal session

Upvotes: 1

patthoyts
patthoyts

Reputation: 33203

If you enable debugging and have the Android SDK installed then you can use adb shell to get a shell on the android device using the USB cable to a PC. If you want something just on the device, ConnectBot which is a SSH client application that is available for free, can provide a localhost only shell which will let you work as for most linux systems. Note that the shell is fairly restricted. A lot of common commands are missing.

Upvotes: 5

axis
axis

Reputation: 872

adb shell

with your phone connected to your PC, via network or USB according to your device, with USB debug enabled.

Upvotes: 3

Related Questions