How do I move a directory to another directory in Linux?

Ngoc Hue

New member
How do I move a directory to another directory in Linux?
Answer
To move a file or directory from one location to another, use the command mv. Common useful options for mv include: -i (interactive) — Prompts you if the file you have selected overwrites an existing file in the destination directory.
 

Tìm kiếm

Back
Top