说起来有些滑稽, "如何在Windows终端使用Linux命令"是一个长盛不衰的问题, 在试过一些'Windows版的Linux命令行工具后", 我最终选择了
git bash
gitbash下载安装
https://gitforwindows.org/
下载完成后, 在桌面找到下面这个图标,双击运行即可
可完美使用git
自带编辑器之神 vim
自带远程安全连接 ssh
ssh并不完美,中文会有乱码现象, 但生产环境的服务器, 中文也不多, 临时用一下是可以的...
自带压缩解压命令 tar
自带sha系列算法
实现了大多数的Linux命令
arch.exe* awk.exe* b2sum.exe* base32.exe* base64.exe* basename.exe* bash.exe* bunzip2.exe* bzcat.exe* bzip2.exe* bzip2recover.exe* captoinfo.exe* cat.exe* chcon.exe* chgrp.exe* chmod.exe* chown.exe* chroot.exe* cksum.exe* clear.exe* cmp.exe* column.exe* comm.exe* cp.exe* csplit.exe* cut.exe* cygcheck.exe* cygpath.exe* cygwin-console-helper.exe* d2u.exe* dash.exe* date.exe* dd.exe* df.exe* diff.exe* diff3.exe* dir.exe* dircolors.exe* dirname.exe* dos2unix.exe* du.exe* dumpsexp.exe* echo.exe* env.exe* envsubst.exe* ex.exe* expand.exe* expr.exe* factor.exe* false.exe* file.exe* find.exe* fmt.exe* fold.exe* funzip.exe* gapplication.exe* gawk.exe* gawk-4.2.1.exe* gdbus.exe* gencat.exe* getconf.exe* getfacl.exe* getopt.exe* gettext.exe* gio-querymodules.exe* gkill.exe* glib-compile-schemas.exe* gobject-query.exe* gpg.exe* gpg-error.exe* gpgsplit.exe* gpgv.exe* grep.exe* groups.exe* gsettings.exe* gzexe* gzip.exe* head.exe* hmac256.exe* hostid.exe* hostname.exe* iconv.exe* id.exe* infocmp.exe* infotocap.exe* install.exe* join.exe* kill.exe* ldd.exe* ldh.exe* less.exe* lessecho.exe* lesskey.exe* link.exe* ln.exe* locale.exe* locate.exe* logname.exe* ls.exe* mac2unix.exe* md5sum.exe* minidumper.exe* mintty.exe* mkdir.exe* mkfifo.exe* mkgroup.exe* mknod.exe* mkpasswd.exe* mktemp.exe* mount.exe* mpicalc.exe* msgattrib.exe* msgcat.exe* msgcmp.exe* msgcomm.exe* msgconv.exe* msgen.exe* msgexec.exe* msgfilter.exe* msgfmt.exe* msggrep.exe* msginit.exe* msgmerge.exe* msgunfmt.exe* msguniq.exe* mv.exe* nano.exe* ngettext.exe* nice.exe* nl.exe* nohup.exe* nproc.exe* numfmt.exe* od.exe* openssl.exe* p11-kit.exe* passwd.exe* paste.exe* patch.exe* pathchk.exe* perl.exe* perl5.26.1.exe* pinky.exe* pldd.exe* pluginviewer.exe* pr.exe* printenv.exe* printf.exe* ps.exe* psl.exe* ptx.exe* pwd.exe* readlink.exe* realpath.exe* rebase.exe* recode-sr-latin.exe* regtool.exe* reset.exe* rm.exe* rmdir.exe* rnano.exe* runcon.exe* rview.exe* rvim.exe* sasldblistusers2.exe* saslpasswd2.exe* scp.exe* sdiff.exe* sed.exe* seq.exe* setfacl.exe* setmetamode.exe* sftp.exe* sh.exe* sha1sum.exe* sha224sum.exe* sha256sum.exe* sha384sum.exe* sha512sum.exe* shred.exe* shuf.exe* sleep.exe* sort.exe* split.exe* ssh.exe* ssh-add.exe* ssh-agent.exe* sshd.exe* ssh-keygen.exe* ssh-keyscan.exe* ssh-pageant.exe* ssp.exe* stat.exe* stdbuf.exe* strace.exe* stty.exe* sum.exe* sync.exe* tabs.exe* tac.exe* tail.exe* tar.exe* tee.exe* test.exe* tic.exe* tig.exe* timeout.exe* toe.exe* touch.exe* tput.exe* tr.exe* true.exe* truncate.exe* trust.exe* tset.exe* tsort.exe* tty.exe* tzset.exe* u2d.exe* umount.exe* uname.exe* unexpand.exe* uniq.exe* unix2dos.exe* unix2mac.exe* unlink.exe* unzip.exe* unzipsfx.exe* users.exe* vdir.exe* view.exe* vim.exe* vimdiff.exe* wc.exe* which.exe* who.exe* whoami.exe* winpty.exe* winpty-agent.exe* winpty-debugserver.exe* xargs.exe* xgettext.exe* xsltproc.exe* xxd.exe* yes.exe* zipinfo.exe*
git bash
整体来讲是不错的, 但与Linux原生的终端相比, 还是有一定差距, 灌一口毒奶, 有一哥们, 同为计算机专业, 在Mac OS和Windows之间挣扎了三年半, 最后老老实实换了Mac(Steam基本拜拜了...), Windows玩游戏还是不错的, 搞编程开发, 建议还是Linux或者Mac
作者:木子昭
链接:https://www.jianshu.com/p/a317debc28ea