用linux强化window cmd
目标人群:在window下工作,需要cmd,熟悉linux的码工。
?
linux有大量优秀的命令,可以提供工作效率。
要在window下使用,方法有:
1) 虚拟机 vmware等
2) 移植 ? cygwin 等
?
这里介绍的是,绿色小体积的解决办法,即少量linux命令。
http://github.com/bmatzelle/gow/
http://github.com/bmatzelle/gow/downloads
当前版本?Gow-0.4.0.exe? 2010-07-25 ?5.3MB
?
提供的好处有
1. 在注册表添加 “Command Prompt Here”, 这样可以在目录上右键打开控制台。
?相当于注册表
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\CmdHere]
@="CMD &Prompt Here"
[HKEY_CLASSES_ROOT\Directory\shell\CmdHere\command]
@="cmd.exe /k cd \"%1\""
?
2. 常用 {linux command}.exe
?例如
agrep, ansi2knr, basename, bash, bc, bison, bunzip2, bzip2,
bzip2recover, cat, chgrp, chmod, chown, cksum, cmp, comm, compress, cp,
csplit, curl, cut, cvs, dc, dd, df, diff, diff3, dircolors, dirname,
dos2unix, du, egrep, env, expand, expr, factor, fgrep, flex, fmt, fold,
fsplit, gawk, gclip, gow, gplay, grep, gsar, gunzip, gzip, head, id,
indent, install, join, jwhois, less, lesskey, ln, logname, ls, m4, make,
md5sum, mkdir, mkfifo, mknod, mv, mvdir, ncftp, nl, od, pageant, paste,
patch, pathchk, pclip, plink, pr, printenv, printf, pscp, psftp, putty,
puttygen, pwd, recode, rm, rman, rmdir, scp, sdiff, sed, seq, sftp, sh,
shar, sleep, sort, split, stego, su, sum, sync, tac, tail, tar, tee,
test, touch, tr, type, uname, unexpand, uniq, unix2dos, unrar, unshar,
unzip, uudecode, uuencode, vim, wc, wget, whereis, which, whoami, xargs,
yes, zcat, zip
?(加粗部分,是比较常用的字符处理命令)