Basic CommandsLesson 11Free preview
Bash Move (mv)
This lesson is part of Bash · All levels
Summary
The mv command moves files or directories and is used to change names. Because the file was moved, the original location automatically becomes empty after the command is executed. Always be careful because the mv can hit the target without moving it to the trash can.
Key points
- Mv source of the purpose of moving the file
- Lama.txt baru.txt used for renaming
- The target file is deleted if it exists, except for the use of...
- r is not necessary to move directories
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.