17 March 2015

Linux Tools

Bash

Screen

Common Commands:

screen -dmS t   # create a screen
screen -r       # restore a detached screen

can use bellow to simplify the flow.

screen -R       # Reattach if possible, otherwise start a new session.

Split screen: * C-a S 水平分割 * C-a | vertical split * C-a switch windows * C-a X close current window * C-a Q close all other windows

VI

Connect from Windows

SHELL for Putty

Putty connect to ADB:

http://blog.sina.com.cn/s/blog_4502d59c01018eus.html

Install the adb driver first, and ensure adb shell can be connected correctly to your mobile device.

the putty to connect to this interface always, by setting the following things: - Turn off line discipline in settings(Terminal--Local echo:Force off Local line-editing:Force off) - Use RAW mode to connect to localhost:5037 - Enter "0012host:transport-usb" (use mouse right button) PS.Don't put anykey with keyboard - Enter "0006shell:" (use mouse right button)



blog comments powered by Disqus