Bash is a command processor, typically run at the command-line, allowing the user to type commands which cause actions. Bash can also read commands from a file, called a script.

learn more… | top users | synonyms

4
votes
1answer
100 views

How much control can I have over my device while not voiding the warranty?

I'm a developer and a Linux user, so naturally, I want to install a Bash prompt on my device. There are several Bash "apps" available in the Google Play store (haven't tested any of them, just ...
0
votes
1answer
166 views

SH Script to Rename .apk.odex files

I have written a script to utilize dexopt-wrapper to odex a folder of .apk's #!/bin/sh SYSAPP=/mnt/extSdCard/FilesToOdex/system/app/ SYSPRIVAPP=/mnt/extSdCard/FilesToOdex/system/priv-app/ for i1 in ...
2
votes
1answer
249 views

I can reverse tether now by using alias but it stops on adb shell command

I made some aliases to quickly reverse tether. alias t='r && sh && n' alias n='netcfg rndis0 dhcp' alias sh='ad shell' alias r='ad kill-server && ad start-server' alias ...
1
vote
1answer
139 views

Bash-Shell on Android Tablet (Transformer Pad TF701T)

Is there any way to get a fully working bash shell on Android together with a terminal emulator, that supports a hardware keyboard (German Layout)? The features I need at least (Terminal Apps, NOT ...
0
votes
0answers
117 views

sound alarm from terminal emulator

For my purposes, I want to create a simple bash script, that will notify me when appropriate conditions will meet. Is there a way to make a sound alert from Android Terminal Emulator? I'm running ...
0
votes
2answers
5k views

How can I find a good bash terminal emulation for Android Gingerbread? [closed]

I want to install a bash terminal emulation on my factory Android Gingerbread mobile? Is this even possible without a rooted gingerbread? Where can I find a good bash terminal emulation? I need it for ...
1
vote
0answers
2k views

How do i open a text file from a terminal window from within the android gui

I'm trying to open a text file from within a terminal window emulator -- but not so it opens in the actual terminal but more like I've just clicked on it. So my question is: What command can I use to ...
1
vote
1answer
138 views

Home screen icon for terminal program?

I'm using terminal-ide http://code.google.com/p/terminal-ide/ which is basically a terminal for android with all sorts of utilities. One is able to create bash scripts for example. Is there a way to ...
1
vote
1answer
916 views

Bash terminal on tablets

I would like to buy a tablet and use it as a netbook to work using a keyboard dock (I still like the touchscreen and stylus options over buying a netbook). I work mostly on linux machines where I need ...
5
votes
2answers
9k views

adb “Permission denied” to run a “./configure” file

I need to run a configure file into my android phone so I think the best way to do this is to use the adb shell command. I'm running an Android emulator onto a Windows-7 platform, and there I'm ...
9
votes
2answers
6k views

Can I change some Android settings from the command line?

I would like to activate "USB tethering" from within a bash script, so is there any possibility to run a command line with adb shell to change some Android settings ? Edit1: The following command ...
8
votes
4answers
6k views

Running applications from a terminal emulator

I have a rooted Nexus 7 Jelly Bean tablet and whenever I attempt to run an application from a terminal emulator app after chmod 777ing it and using the syntax ("./applicationName") it insists that I ...
1
vote
0answers
318 views

Install Bash on rooted Kindle Fire

I just rooted my Kindle Fire and installed QuickSSHd, an SSH daemon app. I can log in via SSH (using Putty in Windows 7) and become root, etc. It appears, however, that the only shell installed is ...
6
votes
2answers
2k views

How to set bash as default shell?

When I adb into a device with Cyanogenmod, I'm presented with a nice bash shell, color prompt, and bashrc. I don't see a symlink from /system/xbin/bash to /system/bin/sh. How do they set the default ...
10
votes
3answers
8k views

Command to install app from phone?

I'd like to SSH into my phone, download an APK, and install it remotely. Is there a command available on the phone that would allow me to do this? EG: wget localhost/file.apk android_install ...
5
votes
4answers
805 views

bash - How can I check if a computer exists on my network WITHOUT IP (i.e. by device name only)?

I would like my phone to execute certain shell scripts via Tasker if my phone is on the same wifi network as my laptop. My initial idea is to edit the /etc/hosts file, but this wouldn't work since ...
1
vote
1answer
2k views

How to modify Bash shell prompt in Cyanogenmod?

Has anyone had any success modifying the shell prompt in Cyanogenmod? Presently, # is pretty useless, it would be much nicer to at least display the working directory. Also, is tab-completion ...
4
votes
2answers
202 views

Is it possible to start an FTP session via bash?

Is it possible to start a session with an Android Samsung Galaxy smartphone through a bash shell to access files remotely?