Use cp and mv without losing track of source and destination.
Mission 06
Copy and move
Duplicate and rename project files while checking paths before and after.
Files and paths
0/25 lessons
0/7 missions
New learnerrank
0XP
0%complete
learner@clairos:/home/learner $
Unix ops lab: type a command, press Enter
Lesson support
What to notice while you play.
Copy /home/learner/projects/hello.txt into lab after making lab.
Copy and move mistakes are easy to prevent with a quick ls or cat.
- Moving instead of copying.
- Forgetting that a destination directory keeps the same filename.
Reference
Commands in this lesson.
ls [-la] [path]
List fake files and folders.
cat <file>
Print text file contents.
cp <src> <dst>
Copy a file.
mv <src> <dst>
Move or rename a file.