2012年12月6日星期四

Linux删除某一个目录下所有指定文件名的文件

find /home/kevin/test -name *.txt -exec rm -f {} \;

find 是一个强大的搜索命令 -name 选项用来搜索符合条件的文件 搜到之后用-exec 选项来执行命令rm -rf {}进行删除.

openwrt 6300V2 USB无法显示的问题

lsusb and fdisk -l There's a method to turn USB power on which is probably not persistent. I hope this will help you. echo 0 > /sys/c...