Loading lesson...
Terminal Basics
Terminal Basics / File Operations
0/5
Let's copy a file — just like dragging a file while holding Option in Finder. The command is
cp
(copy), followed by the original, then where you want the copy. Type
type
cp Documents/notes.txt Desktop/notes.txt
Terminal
learner@mac ~ %
learner
Favorites
Home
Desktop
Documents
Downloads
Desktop
Documents
Downloads
projects
4 items