How do I copy and rename a file in Linux?

Quang Hiếu

New member
How do I copy and rename a file in Linux?
Answer
To move and rename the file, just
substitute mv for cp in the above example. If you cd to tigger and use ls, you’ll see the file piglet.
 

Tìm kiếm

Back
Top