OpenHamony系统中常用命令记录
- hdc smode //设置文件操作权限
- hdc file send srcFile descFile //发送电脑文件到HarmonyOS目录
- hdc file recv srcFile descFile //将HarmonyOS文件复制到电脑目录
- hdc.exe shell //进入系统:
- reboot loader //重启
- ps -ef | grep 应用包名 //查看当前应用ID:
- nsenter -t 3500 -m /bin/sh //进入沙箱目录
- find . -name 文件名 //查找文件
- cp copy_simhei.ttf /mnt/hmdfs/100/account/device_view/local/files/Download/ //将沙箱文件复制到系统文件目录
- storage/media/100/local/files/ //应用文件目录: