Saturday, August 18, 2012

Useful commands in iPhone/iPad terminal

1/ Want to reboot your iphone/ipad? Connect to terminal (or SSH) and issue command: reboot

2/ Want to restart SpringBoard? Connect to terminal (or SSH) and issue command: killall SpringBoard
TBC

3/ Want to start/stop service in iPhone, speeding up your iPhone?

Start vsftpd (daemon/background service)
launchctl load /System/Library/LaunchDaemons/com.bigboss.vsftpd.Startup.plist

Stop vsftpd daemon
launchctl unload /System/Library/LaunchDaemons/com.bigboss.vsftpd.Startup.plist

Start sshd
launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist

Stop sshd
launchctl unload /Library/LaunchDaemons/com.openssh.sshd.plist

View all working processes
ps -ax

View working processes, and its status
top

View disk free on your iphone
df -h

View used command in terminal
history

View your iPhone information: Kernel, Hardware, iPhone name, etc.
hostinfo

Or
uname -a

View network connections to/from your iphone
netstat -s

Configure your iphone network interface
ifconfig -a

Manipulate packages: install, list, remove, etc.
dpkg -l

View help system
help

No comments:

Digital Inspiration Technology Guide

Change the world with your passion