摘要:
问题:在ubuntu 11.10中,使用kdesvn的copy功能为原来的目录做了备份,在备份目录中修改了源代码文件,然后提交更改时,kdesvn给出错误提示:Entry for '~/hwsvn/2sw/1prj_linux/pdu/src/branches/pdu-isocket-dbg-wan' is marked as 'copied' but is not itself scheduled for addition. Perhaps you're committing a target that is inside an unversioned 阅读全文
摘要:
1.这段shell可以实现查看当前目录下有多少个文件夹,有多少个文件,其中可读、可写、可执行的分别是多少个。#!/bin/bash
dir=`ls -l | grep ^d | wc -l`
file=`ls -l | grep ^- | wc -l`
filew=`ls -l | grep w | wc -l`
filer=`ls -l | grep r | wc -l`
filex1=`ls -lF | grep "\*" | wc -l`
filex2=`ls -l | grep ^- |awk 'substr($1,4,1)=="x" | 阅读全文