How do I move a file from one directory to another in Linux?

Trần Vũ

New member
How do I move a file from one directory to another in Linux?
Answer
Show activity on this post.
  1. Go to the command line and get into the directory you want to move it to with cd folderNamehere.
  2. Type pwd . …
  3. Then change to the directory where all of the files are with cd folderNamehere.
  4. Now to move all the files type mv *.* typeAnswerFromStep2here.
 

Tìm kiếm

Back
Top