常用Linux或者Android命令
2015-05-05 09:01
197 查看
删除SVN文件夹中所有文件,保留SVN文件夹
rm `find . ! \( -name '.svn' -prune \) -and ! \( -type d \)`
拷贝目录到另外一个目录并更改目录名称
cp -a -T ~/tmp/AE14/AE14/source/local_src/r1k-monitor-applications/ responder-source/
启动Android网络调试
Connect device via USB and make sure debugging is working.
adb tcpip 5555
adb connect 10.0.0.2:5555
(replace with device's IP address)
Disconnect USB and proceed with wireless debugging.
adb usb to switch back when done.
映射蓝牙设备到虚拟机
1.Stop bluetooth device discovery service in windows
2. In VM Ubuntu
sudo hciconfig hci0 reset before each test
3. Disable all bluetooth services when bluetooth device already attached to VM
使用gcov
# gcc -fprofile-arcs -ftest-coverage -o test test.c
/svn/CAM_PERFORCE/trunk/CAM/buildme/MCU/BluetoothManager/Source$ gcov -o ./CMakeFiles/BluetoothManager.dir/ ./CMakeFiles/BluetoothManager.dir/*.gcda
windows命令设置网络
netsh interface ip set address "网络连接名" static 192.168.0.88 255.255.255.0 192.168.0.1 1
netsh interface ip set dns "网络连接名" static 202.216.224.66
netsh interface ip add dns "网络连接名" 202.216.224.67
如果要改成动态分配ip和自动获得dns使用下面命令。
netsh interface ip set address "网络连接名" dhcp
netsh interface ip set dns "网络连接名" dhcp
Ubuntu安装virtualbox插件
VBoxManage internalcommands sethduuid E:\VirtualBox\Win7_Ultimate_SP1_1\Win7_Ultimate_SP1.vdi
install virtualbox addon:
sudo apt-get install build-essential module-assistant
sudo m-a prepare
lsmod | grep -io vboxguest | xargs modinfo | grep -iw version
sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions \
/usr/lib/VBoxGuestAdditions
rm `find . ! \( -name '.svn' -prune \) -and ! \( -type d \)`
拷贝目录到另外一个目录并更改目录名称
cp -a -T ~/tmp/AE14/AE14/source/local_src/r1k-monitor-applications/ responder-source/
启动Android网络调试
Connect device via USB and make sure debugging is working.
adb tcpip 5555
adb connect 10.0.0.2:5555
(replace with device's IP address)
Disconnect USB and proceed with wireless debugging.
adb usb to switch back when done.
映射蓝牙设备到虚拟机
1.Stop bluetooth device discovery service in windows
2. In VM Ubuntu
sudo hciconfig hci0 reset before each test
3. Disable all bluetooth services when bluetooth device already attached to VM
使用gcov
# gcc -fprofile-arcs -ftest-coverage -o test test.c
/svn/CAM_PERFORCE/trunk/CAM/buildme/MCU/BluetoothManager/Source$ gcov -o ./CMakeFiles/BluetoothManager.dir/ ./CMakeFiles/BluetoothManager.dir/*.gcda
windows命令设置网络
netsh interface ip set address "网络连接名" static 192.168.0.88 255.255.255.0 192.168.0.1 1
netsh interface ip set dns "网络连接名" static 202.216.224.66
netsh interface ip add dns "网络连接名" 202.216.224.67
如果要改成动态分配ip和自动获得dns使用下面命令。
netsh interface ip set address "网络连接名" dhcp
netsh interface ip set dns "网络连接名" dhcp
Ubuntu安装virtualbox插件
VBoxManage internalcommands sethduuid E:\VirtualBox\Win7_Ultimate_SP1_1\Win7_Ultimate_SP1.vdi
install virtualbox addon:
sudo apt-get install build-essential module-assistant
sudo m-a prepare
lsmod | grep -io vboxguest | xargs modinfo | grep -iw version
sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions \
/usr/lib/VBoxGuestAdditions
相关文章推荐
- android 系统配置 常用命令 - linux
- android 常用linux 命令
- linux 下查找文件或者内容常用命令
- linux常用命令积累 | ubuntu 10.04系统开发Android
- 常用备查Linux、Android、数据库命令列表(不断更新)
- 开发嵌入式linux/android常用的一些linux命令
- 开发嵌入式linux/android常用的一些linux命令
- android 底层的linux 常用命令
- linux 下查找文件或者内容常用命令
- android shell命令以及Linux常用命令.(以后就不用东奔西走的找了)
- android shell命令以及Linux常用命令.(以后就不用东奔西走的找了)
- Android( linux )下常用拷贝命令
- linux 下查找文件或者内容常用命令
- Android内核剖析读书笔记-----1.3 Android常用的Linux命令,1.4Linux脚本备忘
- Android 常用adb命令及部分Linux命令2015.01.28
- linux 以及android 系统下常用命令备忘
- Linux-Android开发常用命令
- 原Android系统开发时常用linux的命令
- Android Linux 常用命令
- Linux常用基本命令&Android系统编译命令