How do you move a file from one directory to another in Unix?

Phạm Quyết

New member
How do you move a file from one directory to another in Unix?
Answer
To move files, use
the mv command (man mv), which is similar to the cp command, except that with mv the file is physically moved from one place to another, instead of being duplicated, as with cp. Common options available with mv include: -i — interactive.
 

Tìm kiếm

Back
Top