chmod ( Linux command tutorials)

cp stands for copy.

cp can be used for copying files as well as directories.



cp [OPTION]…[-t] Source destination

  • The following snapshot shows the output of cp test.txt cptest.txt

  • The yellow text shows new file.

  • While copying files and directories all the contents of the files and directories are copied in the new file or directory