shell 中 运行参数手机
_copyright=$(python findIncBizDataFile.py copyright)
可以参考:
cygWin: http://blog.chinaunix.net/u/19782/showart_408547.html
1>. 安装cygwin,他可以满足你大部分Linux命令的需要。真是个好东西。
    下载的地址为:
http://www.cygwin.com/
完成后设置 bin 到path中 就ok!
安装 gvim 
gvim72.exe
http://www.vim.org/
grep 
  
文本查找: grep -nr "string with space" ./*
find 
   find . -name '*[html
!py]' 
  
文件根据时间:find . -type f -amin +1
                
find . -name '*c*' -type f  -maxdepth 2
                
find . -name '*ction*.java' -exec cat -n {}  ; |less
find + grep 
   find . -type f -name "*.txt" |xargs grep 'use this' -n
 查询比 file 文件新的.
  
find . -type f -name "*.txt" -newer ./lib/hadoop-0.18.1/kfs-0.1.LICENSE.txt|xargs grep 'sf' -ln
find+cp
find ./lib -type f -name  '*.jar' -exec cp -rf {}  ./mn_mod_admin/WebRoot/WEB-INF/lib ;
替换:
find -type f -name Root -exec  sed -i 's/59.151.33.197/cvs.xunjienet.cn/g' {} ;
管道:
 -ok 每次执行会询问?
 -exec 直接运行!
 |args 直接运行 但上得结果默认插入后句最后。
gvim 乱码解决:http://www.cnblogs.com/shipfi/archive/2008/04/07/1140025.html
把以下设置添加到.vimrc中。
set encoding=utf-8
set fileencodings=utf-8,chinese,latin-1
if has("win32")
  set fileencoding=chinese
else
  set fileencoding=utf-8
endif
language message zh_CN.utf-8
"解决菜单乱码
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim
命令集合:
:ls  :n
:edit filename 
:split 
:vsplit  
Ctrl-w w
gvim +11 file.txt
显示行号:set nu
替换:http://ks.cn.yahoo.com/question/1408012501095.html
      :%s/four/4/g 
光标定位: 
整理 www.blogjava.net/Good-Game