windows cat 未被识别为内部或外部命令

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/33327718/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 19:18:46  来源:igfitidea点击:

cat not recognised as an internal or external command

windowsopensslcat

提问by Nosakhare Belvi

Learning about big query on google app engine and wanted to try out this librarythat also required me to know about Converting the service account credential to other formats. I have tried the command

了解 Google 应用引擎上的大查询并想尝试这个库,这也需要我了解将服务帐户凭据转换为其他格式。我试过命令

# Convert the key from pkcs12 to pkcs1 (PEM).
$ cat /path/to/xxxx-privatekey.p12 | openssl pkcs12 -nodes -nocerts -passin pass:notasecret | openssl rsa > /path/to/secret.pem

on the command line but I get

在命令行上,但我得到

'cat' is not recognized as an internal or external command,
operable program or batch file.

How do I resolve this?

我该如何解决?

回答by Daxesh Vora

Use windows powershell. WIndows 7 afterwards, it comes along with the windows.

使用 Windows PowerShell。WINdows 7 之后,它与窗口一起出现。