Languages

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

8 points
Asked by:
Roseanne-Read
1365

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
1365

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
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
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