linux常用命令大全

来源:互联网 发布:4g网络哪个运营商好 编辑:程序博客网 时间:2024/06/16 23:21
A:Linux下静态库、动态库查看方法
      Linux下动态库查看方法:nm -D libavformat.so
      Linux下静态库查看方法:ar -t libavformat.a

B:递归删除文件:find -name '.svn*' |xargs rm -rf

C:查看alc5633寄存器cat /sys/devices/platform/soc-audio/rt5633/codec_reg

D:adb shell出现error: insufficient permissions for device时

       1)# touch /etc/udev/rules.d/51-android.rules

       2)# vim /etc/udev/rules.d/51-android.rules

          SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
          SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"

E:查看hex文件,可以安装bless来查看,或者使用下面方法

  1)# vim bin_file

   2) # :%!xxd -g 1

F:mount

1) # mount -t vfat -o rw /dev/block/cardblksd1 /sdcard/external_sdcard

原创粉丝点击