Linux多线程 作业
Linux基本命令
Linux 常用命令
- man: an interface to the on-line reference manuals
- su [options] [username]: change user ID or become superuser
- useradd [options] LOGIN: create a new user or update default new user information
- userdel [options] LOGIN: delete a user account and related files
- passwd [options] [LOGIN]: change user password
- ps [options]: report a snapshot of the current process.
- kill [options]
[…]: send a signal to a process - fdisk [options] device: manipulate disk partition table
- mount: mount a filesystem
- chown [OPTION] … [OWNER]:[GROUP]] FILE …: change file owner and group
- chgrp [OPTION] … GROUP FILE …: change group ownership
- chmod [OPTION] … MODE[,MODE] … FILE …: change file mode bits
- grep [OPTION] PATTERN [FILE…]: print lines matching a pattern
- find [-H] [-L] [-P] [-D debugopts] [-Olevel] [starting-point…] [expression]: search for files in a directory hierarchy
- ln: make links between files
- gzip, gunzip, zcat: compress or expand files
- tar: an archiving utility
- diff [OPTION] … FILES: compare files line by line
- patch -pnum < patchfile: apply a diff file to an original
- ifconfig: configure a network interface
Linux通信机制 作业
MIUI android真机无线调试
为什么需要无线调试
方便
无线调试可以让你在手机上进行调试,而不用连接电脑,可以节省时间。
这几天尝试使用无限调试,但是总是会有 bug,adb 死机,手机重启,导致调试失败。
1 | # 使用 adb 6未数字码方式 连接手机 |
在 Mac 下,我的手机只能成功连接一次,后续就再也连不上了
无奈,只能使用 Android Studios 调试。
- 使用 Android Studios 插件:ADB WI-FI
- USB 连接手机
- 打开 ADB WI-FI 面板
- 自动连接
这种方式目前比较稳定,可以成功连接手机,并且可以进行调试,并且每次启动都可以重新成功连接。
Update at 2025 年 03 月 10 日 16:33:15
pair 成功后, 在无线 adb 里面开启, 然后直接adb connect 192.168.1.100:5555即可连接。