How do I move a file to a parent directory in Linux?

Huỳnh Hiền

New member
How do I move a file to a parent directory in Linux?
Answer
You need to
use the mv command that moves one or more files or directories from one place to another. You must have have write permission for the directories which the file will move between. The syntax is as follows to move /home/apache2/www/html directory up one level at /home/apache2/www/ directory.
 

Tìm kiếm

Back
Top