Shell programming and VIM operations

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.