Tips and lengthy command record collection in Linux and Android development

Source: Internet
Author: User

Keep Updating the collection ....

2014071743


ssh is logged on as Nx_guest to 172.24.221.137 and then establishes a network connection at 172.24.221.137 with 172.24.61.252 8080 port, while Create a local proxy service with Port 5678

Ssh-c-f-n-o ' tcpkeepalive=yes '-l 5678:172.24.61.252:8080 [email protected]


Decompile binaries under Android

./prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objdump-d-S--start-address= 0xc00bc000--stop-address=0xc00bd000-t/local/soul4tmous_mini/out/target/product/jrdsh82_w_tmous_kk/obj/kernel_ Obj/vmlinux > ~/dump.log


Bulk Cancel-sign name suffix for all files under ${mypath}*

Rename-v ' s/-sign//' ${mypath}*


Bulk replace Intltool_merge-notfound in all files in the current directory as Intltool-merge

Sed-i "s/intltool_merge-notfound/intltool-merge/g" ' grep intltool_merge-notfound-rl./'


Common adb shell commands

adb Shell Service list
ADB Shell Dumpsys
ADB shell PM List package-f
ADB shell Dumpsys activity activities
adb shell Dumpsys WiFi
ADB Shell Dumpsys Cpuinfo

ADB shell Dumpsys meminfo [PackageName]


1 Surfaceflinger
2 Accessibility
3 account
4 activity
5 Alarm
6 Appwidget
7 Audio
8 backup
9 battery
Batteryinfo
One bluetooth
BLUETOOTH_A2DP
Clipboard
Connectivity
Content
Cpuinfo
device_policy
devicestoragemonitor
Diskstats
20 Dropbox
Entropy
Ethernet
Hardware
Input_method
Iphonesubinfo
(isms)
Keybar
-Location
Media.audio_flinger
Media.audio_policy
Media.camera
Media.player
33 Meminfo
Mount
Netstat
network_management
PNS Notification
40 Package
The permission
Phone
Power
Search
Sensorservice
Simphonebook
StatusBar
Telephony.registry
47 Throttle
Uimode
usagestats
Vibrator
Wuyi Wallpaper
WiFi
-window
Gfxinfo
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.