Answers for "create a copy of file in linux"

1

copy file in linux command

#For Example: cp filename DestinationPath#  with new name
cp file_name /home/ubuntu/Desktop/file_name2

#For Example: cp filename DestinationPath#  with Same Name
cp file_name /home/ubuntu/Desktop/

#For Example: cp filename in same directory
cp file_name new_file_name

#For Exmaple : cp for Full Directory include files
cp -r dir_name new_dir_name
Posted by: Guest on May-13-2022
12

how to copy a file in linux

#linux
cp
Posted by: Guest on July-07-2021

Code answers related to "create a copy of file in linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language