Skip to content

Commit e6b9760

Browse files
Fix use of the move command in the Windows shell
`move` work both in `cmd` and in Powershell. `mv` works only in Powershell and the book says nothing about which shell is recommended so this could confuse beginners. Closes #33219.
1 parent 80bff1e commit e6b9760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ enter the following commands:
412412

413413
```bash
414414
$ mkdir src
415-
$ mv main.rs src/main.rs
415+
$ mv main.rs src/main.rs # or 'move main.rs src/main.rs' on Windows
416416
$ rm main # or 'del main.exe' on Windows
417417
```
418418

0 commit comments

Comments
 (0)