[英]pwd doesn't work in windows when I include the git bash command line?
I add the bin of git bash into my path in windows7 for the purpose of using linux command in windows. 我将git bash的bin添加到Windows7的路径中,目的是在Windows中使用linux命令。 Other commands like ls, mkdir work fine but when I run "pwd" windows can't execute it. 其他命令,例如ls,mkdir都可以正常运行,但是当我运行“ pwd”时,Windows无法执行它。 I found there is no pwd.exe in the bin directory. 我发现bin目录中没有pwd.exe。 So I want to ask where I could download this file or if there is any better way to fix it? 因此,我想问一下我可以在哪里下载此文件,或者是否有更好的修复方法? Thanks. 谢谢。
in windows de equivalent command for pwd is path. 在Windows中,pwd的等效命令是path。 Change pwd with path 用路径更改密码
A better way of using linux commands on windows is using Cygwin. 在Windows上使用linux命令的一种更好的方法是使用Cygwin。 It will not only allow you to run pwd and other linux commands but it will also make your windows command line as powerful as the linux terminal. 它不仅允许您运行pwd和其他linux命令,而且还使Windows命令行功能与linux终端一样强大。
Check out the link below: https://www.cygwin.com 查看以下链接: https : //www.cygwin.com
对于与Terminal等效的Windows中的命令提示符 ,可以使用cd ,
代替pwd
... cd ,
而使用dir
代替ls
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.