In fact, have not understood what is the shell, Android ADB debugging will use some simple shell command, summarize
1.adb Debug CommandsFull name: Android Debug Bridge
[Settings] export path=${path}:< your SDK directory >/tools
[live memory] adb shell top | grep com.fun.funm[Detailed memory] adb shell Dumpsys meminfo com.fun.funm[catalogue] adb shell; su; CD system/app; Data/data[Safety loading] adb install *.apk; adb uninstall COM.FUN.FUNM[file fetch] adb push; ADB pullFor example, to pull a database file from the Android store, you need to get permissions first:
Cd/data/data/com.glacier.demo/databaseschmod 664 alarm.db adb pull/data/data/com.glacier.demo/databases/alarm.db/ users/admin/desktop/android-file/
2.vim command
move to the beginning of the line: Shift+4move to end of line: Shift+6move to end of file: Gmove to file start: GGmake vim file effective immediately: source filename
Shell programming and VIM operations