Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cat not recognised as an internal or external command

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

# 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?

like image 961
Nosakhare Belvi Avatar asked Oct 25 '15 08:10

Nosakhare Belvi


People also ask

How do you fix is not recognized as an internal or external command?

You can resolve this issue in three ways: First, use the full path of the executable file to launch the program. Second, add the program path to Windows environment variables. Finally, move the files to the System32 folder.

Is cat an external command?

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

What is the equivalent of cat in CMD?

The type command is a Windows cat equivalent that works across a command-line prompt (cmd) and a Window's PowerShell. type command used in Windows to view contents of the given file without modifying it.

Does Cat work in PowerShell?

The cat command in Linux is used to concatenate files and print to a standard output. The type command is a Windows cat equivalent that works across a command-line prompt (CMD) and a Windows PowerShell.


1 Answers

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

like image 85
Daxesh Vora Avatar answered Sep 25 '22 08:09

Daxesh Vora