Add .bashrc to iPhone for SSH or MobileTerminal
When you SSH into your iPhone, or if you use MobileTerminal, you might want to use some of the aliases or functions that you're used to.
To do this:
- Create and edit your ".bashrc" file at "/var/root/.bashrc"
- Add the following line to "/etc/profile":
source /var/root/.bashrc
An example alias would be: alias respring="killall SpringBoard"
Colored prompts look great in MobileTerminal too.