`
superfofo
  • 浏览: 128693 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

windows使用linux指令,nice:unxutils

阅读更多
假如你用惯了linux,那你很有可能跟我一样,是被一堆个头不大,却是精明能干的小工具所吸引的:im, ssh, perl, grep, agrep, fgrep, sed, wget, agrep, unzip, cp, mv, rm (我常用的,也就这些)……这些工具在windows不是不存在,只是有的工具加上了gui界面,个头太大;有的改成了彻头彻尾的windows版。这一切,让人感觉,不爽。

可是,你值得安装一整套cygwin么?你有必要安装虚拟机么?当然没必要。本文要介绍的,是一组小巧的实现方案:UnxUtils。自14-04-2003年4月14日之后,它有了升级版本,但是仍然都是03年、04年的作品。只要你需要,就不妨拿来用,不要因为它陈旧而轻视它的实用性。

下载UnxUtils以及UnxUpdates之后,解压到自己中意的文件夹,把\usr\local\wbin文件夹的绝对地址加到

我的电脑(右键)->属性->高级->环境变量->系统变量->path值

注意,在所加的地址之前,应该有个分号“;”以示区分。这样,你随时随地就能打开一个”cmd”console,使用如下工具:

根据自己的需要,我加入了自己常用的三个工具:vim,perl,ssh。

引用
agrep.exe; ansi2knr.exe; basename.exe; bc.exe; bison.exe; bunzip2.exe; bzip2.exe; bzip2recover.exe; cat.exe; chgrp.exe; chmod.exe; chown.exe; cksum.exe; cmp.exe; comm.exe; compress.exe; cp.exe; csplit.exe; cut.exe; date.exe; dc.exe; dd.exe; df.exe; diff.exe; diff3.exe; dircolors.exe; dirname.exe; du.exe; echo.exe; egrep.exe; env.exe; expand.exe; expr.exe; factor.exe; fgrep.exe; find.exe; flex.exe; fmt.exe; fold.exe; fsplit.exe; gawk.exe; gclip.exe; gplay.exe; grep.exe; gsar.exe; gunzip.exe; gzip.exe; head.exe; id.exe; indent.exe; install.exe; join.exe; jwhois.exe; less.exe; lesskey.exe; libfl.a libfl.lib ln.exe; logname.exe; ls.exe; m4.exe; make.exe; makedepend.exe; makemsg.exe; man.exe; md5sum.exe; mkdir.exe; mkfifo.exe; mknod.exe; mv.exe; mvdir.exe; nl.exe; od.exe; paste.exe; patch.exe; pathchk.exe; pclip.exe; pr.exe; printenv.exe; printf.exe; ptx.exe; pwd.exe; recode.exe; rm.exe; rman.exe; rmdir.exe; sdiff.exe; sed.exe; seq.exe; sha1sum.exe; shar.exe; sleep.exe; sort.exe; split.exe; stego.exe; su.exe; sum.exe; sync.exe; tac.exe; tail.exe; tar.exe; tee.exe; test.exe; touch.exe; tr.exe; tsort.exe; type.exe; uname.exe; unexpand.exe; uniq.exe; unrar.exe; unshar.exe; unzip.exe; uudecode.exe; uuencode.exe; wc.exe; wget.exe; wget.hlp which.exe; whoami.exe; xargs.exe; yes.exe; zcat.exe; zip.exe; zsh.exe;


vim建议直接安装完全版,它自己就包括了console版和gui版。网上搜索有一大堆的gvim的安装文件,安装完成之后,将gvim的根目录同样放到环境变量的path值里面,就可以在cmd的命令行中直接vim文件了,经本人试验ok,very nice~

perl:如果用得频繁,用得深入,建议你安装完整的active perl。但是,如果你只是使用正则表达式进行一些简单的文本处理,不用它的其它库的话,从activeperl里提取两个文件足矣:wperl.exe,perl58.dll。它能完美地运行我80%的脚本。使用它来预处理latex源文件,简单高效。如果你vim用得好,处理文本只用vim也可,虽然它的正则式风格怪怪的。

ssh:我使用过putty,但是它还要自己开一个console,与windows自带的consol不兼容。现在使用OpenSSH for Windows,发现这是一个比较好的选择,与以上环境更融洽。我提取出一个ssh.exe,以及5个dll文件,就能完整地运行ssh客户端,远程操作自己的dh主机了。wget & unzip下载wordpress、安装插件,速度快得吓人;vim修改文件,也比使用ftp再edit快捷直接得多。

unxutils下载地址:http://sourceforge.net/projects/unxutils/

分享到:
评论

相关推荐

    unxutils.exe

    windows平台下的一个linux工具包。 unxutils.exe

    Windows下Linux常用命令集合

    习惯了在Linux下使用命令的朋友, 现在可以在Windows使用大部分和Linux相同或相似的命令了. 例如grep,du,dd,less等等.只需要在%PATH%里添加路径(UnxUtils\usr\local\wbin),就可以方便地使用Linux常用命令了.

    UnxUtils.zip

    解决cmd中用不了tee grep等命令。把linux命令移植到win上,装上后就能在win上用linux命令了。 UnxUtils\usr\local\wbin里面的文件拷贝到C:\Windows\System32下。 或者环境变量path中添加wbin目录

    UnxUtils(Windows下的Linux工具).zip

    ls、chmod、rm、tee等为Linux指令,tee把日志输出到log的同时输出到屏幕。各种linux指令,windows下载解压添加到环境变量即可执行。

    Unxutils,Unxutils

    windows下的linux命令包 包括了linux/unix下常用的命令行实用工具

    UnxUtils_2013-04-24_WithUpdates.zip

    UnxUtils Unix for Windows 批处理命令行工具集,习惯了 linux 下的快捷命令,在windows 下不能用怎么办? 有这套工具就够了,让你在 windows 环境下一样使用linux命令,最近用批处理替换带有等号的字符串真是太麻烦...

    win-bash和unxUpdate和unxUtils.zip

    win-bash一个基于Windows的shell解析器,可以在eclipse中安装shelled插件,然后在插件中选择此工具中到sh.exe 作为shelled的shell解析器,用于在Windows系统下,编译运行shell脚本。 其中包含多个工具类: shell....

    windows下的unix工具unxutils

    NULL 博文链接:https://myjcwy.iteye.com/blog/1808301

    windows下的Unix/Linux命令大全

    非常值得收藏的windows下可用的Unix/Linux命令行工具

    UnxUtils(window shell编程)

    可以像能够unix 一样在windows下shell编程,很实用,占用空间也小

    UnxUtils

    Here are some ports of common GNU utilities to native Win32. In this context, native means the executables do only depend on the Microsoft C-runtime (msvcrt.dll) and not an emulation layer like that ...

    UnxUtils GNU utilities for Win32

    在Unix 下的命令可以在Windows下运行的软件,不用装虚拟机的,就可以使用Unix的相关命令,所以很方便!

    OS + windows command / cmd / dos / Cygwin / UnxUtils / miniGW / powershell

    NULL 博文链接:https://lindows.iteye.com/blog/221961

    lex与Yacc所需flex.exe bison.exe

    flex.exe和bison.exe是UnxUtils包中的文件,已经将许多Unix/Linux平台的程序都移植到了Windows平台,解压缩之后在系统的PATH环境变量中增加UnxUtils所有的exe文件所在的目录,使 得DOS命令行可以直接搜索到flex.exe...

    bash v203- bash的windows本地实现

    bash的windows本地实现,不需CygWin支持。结合我上传的UnxUtils使用,非常方便哦。

    Shell Scripting Toolkit

    Windows批处理加上这个东西,再加上unxutils for windows, 我觉得已经很强大了, 不会比Unix shell差多少了. Unxutils就是一些Unix命令行工具的windows移植,包括grep,sed,awk,tar,which gzip等. unxutils主页:...

    myUnxCmd:Windows Unix命令的端口。 易于安装和使用。-开源

    这是unix命令的Windows端口。 它与UnxUtils,Console2,bash和其他常见命令集成在一起。 易于安装,易于使用。

    bison手册

    GNU bison手册pdf版

    SDCC Use VC compil 2.8.0_SDCCVC_4321_

    1、准备开源工具集 下载UnxUtils(htttp://unxutils.sourceforge.net)、bison(bison for win,相关动态链接库libintl3、libiconv2、regex2)。2、设定VC环境变量 添加可执行程序目录(要使用gwak、bison)3、配置SDCC...

    FLEX大师之路.part4

    FLEX大师之路.part4

Global site tag (gtag.js) - Google Analytics