Monday, April 29, 2024
15
rated 0 times [  15] [ 0]  / answers: 1 / hits: 56485  / 3 Years ago, fri, october 1, 2021, 11:53:57

How Could i copy or cut a file from a directory to another directory?



I mean in command line!


More From » command-line

 Answers
6

Simple: type in terminal



For copy



cp /PATH1/file [file2 file3 ...] /PATH2/[newfilename or noting to use the same name]


and for more info about cp use man cp






For cut(move and rename)



mv /PATH1/file /PATH2/[newfilename or noting to use the same name]


and for more info about mv use man mv


[#36820] Saturday, October 2, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
wherejuic

Total Points: 53
Total Questions: 123
Total Answers: 117

Location: Zambia
Member since Mon, Jan 23, 2023
1 Year ago
wherejuic questions
Thu, Aug 19, 21, 18:07, 3 Years ago
Wed, May 12, 21, 03:23, 3 Years ago
Sat, Nov 13, 21, 05:27, 3 Years ago
Mon, Sep 5, 22, 17:36, 2 Years ago
;