Languages

Windows Command Line - 'rm' is not recognized as an internal or external command

8 points
Asked by:
Roseanne-Read
345

What is the reasone I have got following error in Windows Command Line:

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

when I call in cmd:

rm src/index.js

 

1 answer
3 points
Answered by:
Roseanne-Read
345

rm command is used under Linux / Unix operating systems.

Under Windows you should use:

del src/index.js

 

Hint: if you wnat to use some basic Linux commands under Windows you can install Bash for Windows - link here.

References

  1. Bash - how to install linux bash for windows

0 comments Add comment
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join