Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I have forked a php application .they have instructed as follows.

1.Application uses:

  • PHP 7.1.3
  • composer
  • laravel
  • MySql or PostgreSQL

I have installed everything as per instructions.

  1. Install and configure application by running following commands

    composer install

    mv .env.example .env

When I run mv .env.example .env as per instructions i get the following error

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

any help or suggestions will be helpfull

like image 757
The Dead Man Avatar asked Sep 02 '18 11:09

The Dead Man


People also ask

How do you fix make is not recognized as an internal or external command operable program or batch file?

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.

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

About the Unrecognized Command npm run dev > dev > next dev 'next' is not recognized as an internal or external command, operable program or batch file. Good news, the solution is actually just to install the Next. js npm package.

How do I use mv on Windows?

The mv command moves files and directories from one directory to another or renames a file or directory. If you move a file or directory to a new directory, it retains the base file name. When you move a file, all links to other files remain intact, except when you move it to a different file system.

What command is mv?

Use the mv command to move files and directories from one directory to another or to rename a file or directory. If you move a file or directory to a new directory without specifying a new name, it retains its original name.


Video Answer


1 Answers

mv is a Unix command and I think you are using windows. You have 2 options:

  1. Installing Git bash and in the bash use mv command.

  2. Using Windows move command.

like image 137
Rouhollah Mazarei Avatar answered Sep 22 '22 13:09

Rouhollah Mazarei